mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-31 16:50:58 +00:00
Bugfix for releasing uninitialised instance.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@24463 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
fe0f32993f
commit
edcf9400aa
2 changed files with 5 additions and 1 deletions
|
@ -8,6 +8,7 @@
|
|||
* Source/NSException.m: Use non-symbolic stack trace if symbols
|
||||
are not available.
|
||||
* Source/NSIndexSet.m: Add private method for minternal use.
|
||||
* Source/NSMessagePort.m: Fix error releasing uninitialised instance.
|
||||
|
||||
2007-01-30 Richard Frith-Macdonald <rfm@gnu.org>
|
||||
|
||||
|
|
|
@ -1700,8 +1700,11 @@ typedef struct {
|
|||
{
|
||||
M_LOCK(messagePortLock);
|
||||
if (NSDecrementExtraRefCountWasZero(self))
|
||||
{
|
||||
if (_internal != 0)
|
||||
{
|
||||
NSMapRemove(messagePortMap, (void*)name);
|
||||
}
|
||||
M_UNLOCK(messagePortLock);
|
||||
[self dealloc];
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue