git-svn-id: https://svn.eduke32.com/eduke32@1339 1a8010ca-5511-0410-912e-c29ae57300e0

This commit is contained in:
terminx 2009-04-23 17:44:55 +00:00
parent dbb24affe9
commit 4d240d1bea

View file

@ -12162,7 +12162,10 @@ void hash_free(hashtable_t *t)
cur = cur->next;
// initprintf("Free %4d '%s'\n",tmp->key,(tmp->string)?tmp->string:".");
if (tmp->string)
{
Bfree(tmp->string);
tmp->string = NULL;
}
Bfree(tmp);
num++;
}