mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-22 16:33:29 +00:00
(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:
parent
e7b13a8cb7
commit
74a3bb4f3e
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue