* 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:
Matt Rice 2005-05-21 05:16:19 +00:00
parent f69530c060
commit 7df7a3c801
2 changed files with 6 additions and 1 deletions

View file

@ -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

View file

@ -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);