mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-23 00:41:02 +00:00
* Source/NSArray.m (NSArray -removeObject:): Fix macro conditional
so we release the object. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21241 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
f69530c060
commit
7df7a3c801
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
2005-05-20 Matt Rice <ratmice@yahoo.com>
|
||||
|
||||
* Source/NSArray.m (NSArray -removeObject:): Fix macro conditional
|
||||
so we release the object.
|
||||
|
||||
2005-05-15 19:57 Gregory John Casamento <greg_casamento@yahoo.com>
|
||||
|
||||
* Source/NSPropertyList.m: Changes to include limits.h rather
|
||||
|
|
|
@ -1631,7 +1631,7 @@ compare(id elem1, id elem2, void* context)
|
|||
(*rem)(self, remSel, i);
|
||||
}
|
||||
}
|
||||
#ifndef GS_WITH_GC
|
||||
#if GS_WITH_GC == 0
|
||||
if (rem != 0)
|
||||
{
|
||||
RELEASE(anObject);
|
||||
|
|
Loading…
Reference in a new issue