Return autoreleased copy of classname from _currentClass method.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@21589 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Gregory John Casamento 2005-08-01 11:50:59 +00:00
parent 3731a5475e
commit 5400a8841d
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2005-08-01 07:59 Gregory John Casamento <greg_casamento@yahoo.com>
* GormCore/GormClassInspector.m: Return an autoreleased copy of the
class name from _currentClass.
2005-08-01 05:45 Gregory John Casamento <greg_casamento@yahoo.com>
* GormCore/GormClassInspector.m: Remove dopy code from _currentClass.

View file

@ -657,7 +657,7 @@ objectValueForTableColumn: (NSTableColumn *)tc
- (NSString *) _currentClass
{
return [object className];
return AUTORELEASE([[object className] copy]);
}
- (void) handleNotification: (NSNotification *)notification