mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-20 20:26:42 +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
43ad91f79e
commit
952af9c197
65 changed files with 707 additions and 214 deletions
|
@ -744,8 +744,8 @@ static NSDistributedNotificationCenter *netCenter = nil;
|
|||
_remote = [NSConnection
|
||||
rootProxyForConnectionWithRegisteredName: service
|
||||
host: host usingNameServer: ns];
|
||||
RETAIN(_remote);
|
||||
DESTROY(pool);
|
||||
IF_NO_GC([_remote retain];)
|
||||
IF_NO_GC(DESTROY(pool);)
|
||||
}
|
||||
if (_remote == nil)
|
||||
{
|
||||
|
@ -755,10 +755,12 @@ static NSDistributedNotificationCenter *netCenter = nil;
|
|||
@"I attempted to start it at '%@'\n", cmd];
|
||||
}
|
||||
}
|
||||
#if !GS_WITH_GC
|
||||
else
|
||||
{
|
||||
RETAIN(_remote);
|
||||
[_remote retain];
|
||||
}
|
||||
#endif
|
||||
|
||||
c = [_remote connectionForProxy];
|
||||
[_remote setProtocolForProxy: p];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue