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:
Richard Frith-MacDonald 1999-05-06 19:37:45 +00:00
parent d7c8fa0305
commit 1dbd6cc410
8 changed files with 196 additions and 178 deletions

View file

@ -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];
}