Tidyup for GC

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@4956 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
richard 1999-09-28 19:35:09 +00:00
parent 65b8d0067c
commit eb1c061d9b
30 changed files with 137 additions and 111 deletions

View file

@ -599,7 +599,7 @@ failure:
if ([mgr fileExistsAtPath: path])
{
att = [[mgr fileAttributesAtPath:path traverseLink:YES] mutableCopy];
TEST_AUTORELEASE(att);
IF_NO_GC(TEST_AUTORELEASE(att));
}
c = rename(thePath, theRealPath);
@ -702,7 +702,7 @@ failure:
d = [d initWithBytesNoCopy: *(void**)data
length: len
fromZone: z];
AUTORELEASE(d);
IF_NO_GC(AUTORELEASE(d));
}
[self deserializeBytes: *(char**)data
@ -772,7 +772,7 @@ failure:
d = [d initWithBytesNoCopy: *(void**)data
length: len
fromZone: z];
AUTORELEASE(d);
IF_NO_GC(AUTORELEASE(d));
[self deserializeDataAt: *(char**)data
ofObjCType: type
atCursor: cursor