From 4d240d1bea8cfc75fb76c225577b4d5ae79ab3a8 Mon Sep 17 00:00:00 2001 From: terminx Date: Thu, 23 Apr 2009 17:44:55 +0000 Subject: [PATCH] git-svn-id: https://svn.eduke32.com/eduke32@1339 1a8010ca-5511-0410-912e-c29ae57300e0 --- polymer/eduke32/build/src/engine.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/polymer/eduke32/build/src/engine.c b/polymer/eduke32/build/src/engine.c index d49b443b5..47ce04554 100644 --- a/polymer/eduke32/build/src/engine.c +++ b/polymer/eduke32/build/src/engine.c @@ -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++; }