mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 16:30:41 +00:00
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:
parent
65b8d0067c
commit
eb1c061d9b
30 changed files with 137 additions and 111 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue