fixups for libobjc2

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29753 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
rfm 2010-02-25 18:49:31 +00:00
parent f366d9d303
commit 7ff4d4c9c7
67 changed files with 328 additions and 253 deletions

View file

@ -313,7 +313,7 @@ static NSIndexPath *dummy = nil;
[aCoder decodeValueOfObjCType: @encode(NSUInteger) at: &length];
if (length == 0)
{
RELEASE(self);
DESTROY(self);
self = empty;
}
else
@ -386,7 +386,7 @@ static NSIndexPath *dummy = nil;
}
else
{
RELEASE(self);
DESTROY(self);
self = RETAIN(found);
}
[lock unlock];