mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-22 16:33:29 +00:00
fix leak
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@27063 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
265a8224d3
commit
4e37cbbca4
2 changed files with 4 additions and 4 deletions
|
@ -3,8 +3,7 @@
|
|||
* Source/NSProcessInfo.m: Remove useless sysctl command.
|
||||
* Source/NSMessagePort.m: Ensure port is not deallocated while
|
||||
being invalidated. Fix memory leak of port lock.
|
||||
* Source/NSSocketPort.m: Ensure port is not deallocated while
|
||||
being invalidated.
|
||||
* Source/NSSocketPort.m: ditto
|
||||
|
||||
2008-11-15 Wolfgang Lux <wolfgang.lux@gmail.com>
|
||||
|
||||
|
|
|
@ -1797,8 +1797,6 @@ static Class tcpPortClass;
|
|||
- (void) dealloc
|
||||
{
|
||||
[self gcFinalize];
|
||||
DESTROY(host);
|
||||
TEST_RELEASE(address);
|
||||
[super dealloc];
|
||||
}
|
||||
|
||||
|
@ -1829,6 +1827,9 @@ static Class tcpPortClass;
|
|||
NSFreeMapTable(handles);
|
||||
handles = 0;
|
||||
}
|
||||
DESTROY(host);
|
||||
TEST_RELEASE(address);
|
||||
DESTROY(myLock);
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
Loading…
Reference in a new issue