mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-31 00:30:53 +00:00
fix retain/release errors
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29770 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
4bd2606d7d
commit
2de66f9c28
3 changed files with 13 additions and 13 deletions
|
@ -1436,9 +1436,9 @@ static Class runLoopClass;
|
|||
sent = YES;
|
||||
}
|
||||
M_UNLOCK(myLock);
|
||||
DESTROY(self);
|
||||
NSDebugMLLog(@"GSTcpHandle",
|
||||
@"Message send 0x%x on 0x%x status %d", components, self, sent);
|
||||
RELEASE(self);
|
||||
return sent;
|
||||
}
|
||||
|
||||
|
@ -2100,7 +2100,7 @@ static Class tcpPortClass;
|
|||
[super invalidate];
|
||||
}
|
||||
M_UNLOCK(myLock);
|
||||
DESTROY(self);
|
||||
RELEASE(self);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -2258,7 +2258,7 @@ static Class tcpPortClass;
|
|||
* been retained - we must therefore release this port since the
|
||||
* handle no longer uses it.
|
||||
*/
|
||||
DESTROY(self);
|
||||
IF_NO_GC(RELEASE(self);)
|
||||
}
|
||||
handle->sendPort = nil;
|
||||
}
|
||||
|
@ -2275,7 +2275,7 @@ static Class tcpPortClass;
|
|||
[self invalidate];
|
||||
}
|
||||
M_UNLOCK(myLock);
|
||||
DESTROY(self);
|
||||
RELEASE(self);
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue