mirror of
https://github.com/DrBeef/Raze.git
synced 2024-11-16 01:11:28 +00:00
git-svn-id: https://svn.eduke32.com/eduke32@1339 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
dbb24affe9
commit
4d240d1bea
1 changed files with 3 additions and 0 deletions
|
@ -12162,7 +12162,10 @@ void hash_free(hashtable_t *t)
|
||||||
cur = cur->next;
|
cur = cur->next;
|
||||||
// initprintf("Free %4d '%s'\n",tmp->key,(tmp->string)?tmp->string:".");
|
// initprintf("Free %4d '%s'\n",tmp->key,(tmp->string)?tmp->string:".");
|
||||||
if (tmp->string)
|
if (tmp->string)
|
||||||
|
{
|
||||||
Bfree(tmp->string);
|
Bfree(tmp->string);
|
||||||
|
tmp->string = NULL;
|
||||||
|
}
|
||||||
Bfree(tmp);
|
Bfree(tmp);
|
||||||
num++;
|
num++;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue