mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-31 08:41:03 +00:00
garbage collection fixups
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@27578 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
2c9683175f
commit
d304d9ee34
65 changed files with 707 additions and 214 deletions
|
@ -1651,7 +1651,7 @@ static unsigned urlAlign;
|
|||
if (c != 0)
|
||||
{
|
||||
handle = [[c alloc] initWithURL: self cached: shouldUseCache];
|
||||
AUTORELEASE(handle);
|
||||
IF_NO_GC([handle autorelease];)
|
||||
}
|
||||
}
|
||||
return handle;
|
||||
|
@ -1734,7 +1734,7 @@ static unsigned urlAlign;
|
|||
{
|
||||
id c = clientForHandle(_clients, sender);
|
||||
|
||||
RETAIN(self);
|
||||
IF_NO_GC([self retain];)
|
||||
[sender removeClient: self];
|
||||
if (c != nil)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue