(autorelease): Ask NSObject for autoreleaseClass.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@131 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
mccallum 1995-03-17 16:09:24 +00:00
parent e7b13a8cb7
commit 74a3bb4f3e

View file

@ -339,7 +339,7 @@ static inline BOOL class_is_kind_of(Class self, Class aClassObject)
- autorelease
{
/* xxx Problems here if the Connection goes away? */
[autorelease_class autoreleaseObject:self];
[[NSObject autoreleaseClass] addObject:self];
return self;
}