mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-07 15:01:10 +00:00
Fix dealloc problem
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2892 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
18412bd701
commit
ad3a6150bc
1 changed files with 5 additions and 2 deletions
|
@ -80,8 +80,11 @@
|
|||
|
||||
- (void) dealloc
|
||||
{
|
||||
NSFreeHashTable (_contents_hash);
|
||||
_contents_hash = 0;
|
||||
if (_contents_hash)
|
||||
{
|
||||
NSFreeHashTable (_contents_hash);
|
||||
_contents_hash = 0;
|
||||
}
|
||||
[super dealloc];
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue