Further correction for previous fix.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@21497 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Gregory John Casamento 2005-07-17 19:43:13 +00:00
parent 0e96a7e16b
commit 7192134d1c
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2005-07-17 15:47 Gregory John Casamento <greg_casamento@yahoo.com>
* GormCore/GormClassEditor.m: Added code to prevent memory leak
with previous change.
2005-07-17 15:08 Gregory John Casamento <greg_casamento@yahoo.com>
* GormCore/GormClassEditor.m: Removed AUTORELEASE for

View file

@ -299,7 +299,7 @@ NSString *GormSwitchViewPreferencesNotification = @"GormSwitchViewPreferencesNot
}
// select class in browser...
subClassesArray = [[classManager allSuperClassesOf: className] mutableCopy];
subClassesArray = [NSMutableArray arrayWithArray: [classManager allSuperClassesOf: className]];
if ((subClassesArray == nil || [subClassesArray count] == 0) &&
[classManager isRootClass: className] == NO)
{