mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 08:21:25 +00:00
fixups for libobjc2
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29753 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
f366d9d303
commit
7ff4d4c9c7
67 changed files with 328 additions and 253 deletions
|
@ -156,7 +156,7 @@ static NSLock *pairLock = nil;
|
|||
|
||||
- (id) init
|
||||
{
|
||||
[self release];
|
||||
DESTROY(self);
|
||||
return nil;
|
||||
}
|
||||
|
||||
|
@ -180,7 +180,7 @@ static NSLock *pairLock = nil;
|
|||
{
|
||||
/* Found a match ... remove from cache and return as self.
|
||||
*/
|
||||
[self release];
|
||||
DESTROY(self);
|
||||
self = [pair retain];
|
||||
[pairCache removeObjectAtIndex: count];
|
||||
[pairLock unlock];
|
||||
|
@ -197,7 +197,7 @@ static NSLock *pairLock = nil;
|
|||
outputStream: &op];
|
||||
if (ip == nil || op == nil)
|
||||
{
|
||||
[self release];
|
||||
DESTROY(self);
|
||||
return nil;
|
||||
}
|
||||
ssl = s;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue