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:
rfm 2010-02-26 06:53:47 +00:00
parent 4bd2606d7d
commit 2de66f9c28
3 changed files with 13 additions and 13 deletions

View file

@ -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);
}
/*