mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 16:30:41 +00:00
Performance improvements.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@4215 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
d7c8fa0305
commit
1dbd6cc410
8 changed files with 196 additions and 178 deletions
|
@ -482,11 +482,17 @@ _bundle_load_callback(Class theClass, Category *theCategory)
|
|||
|
||||
- (void) dealloc
|
||||
{
|
||||
NSMapRemove(_bundles, _path);
|
||||
RELEASE(_bundleClasses);
|
||||
RELEASE(_infoDict);
|
||||
RELEASE(_localizations);
|
||||
RELEASE(_path);
|
||||
if (_path)
|
||||
{
|
||||
NSMapRemove(_bundles, _path);
|
||||
RELEASE(_path);
|
||||
}
|
||||
if (_bundleClasses)
|
||||
RELEASE(_bundleClasses);
|
||||
if (_infoDict)
|
||||
RELEASE(_infoDict);
|
||||
if (_localizations)
|
||||
RELEASE(_localizations);
|
||||
[super dealloc];
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue