mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-22 16:33:29 +00:00
(retain): Call NSIncrementExtraRefCount(), not
NSShouldRetainWithZone(), of course! (Reported by Adam Fedor <fedor@mode.Colorado.EDU>) git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@202 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
0ba9435c6d
commit
0c1ae833da
1 changed files with 1 additions and 1 deletions
|
@ -351,7 +351,7 @@ BOOL NSDecrementExtraRefCountWasZero(id anObject)
|
|||
|
||||
- retain
|
||||
{
|
||||
NSShouldRetainWithZone(self, [self zone]);
|
||||
NSIncrementExtraRefCount(self, [self zone]);
|
||||
return self;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue