summaryrefslogtreecommitdiffhomepage
path: root/mixlib
diff options
context:
space:
mode:
authorJose Antonio Ortega Ruiz <jao@gnu.org>2001-08-20 00:42:59 +0000
committerJose Antonio Ortega Ruiz <jao@gnu.org>2001-08-20 00:42:59 +0000
commitf514dc310a1ef514de8f161b0c49756a8a302186 (patch)
treea95a80c276cb46b07de01d206e2dc42943007c5c /mixlib
parent3c9b743870a524151d31de2c0d758fa7da7ffed6 (diff)
downloadmdk-f514dc310a1ef514de8f161b0c49756a8a302186.tar.gz
mdk-f514dc310a1ef514de8f161b0c49756a8a302186.tar.bz2
memory leak fixed
Diffstat (limited to 'mixlib')
-rw-r--r--mixlib/mix_vm_command.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/mixlib/mix_vm_command.c b/mixlib/mix_vm_command.c
index 0ccfd7b..e9e3751 100644
--- a/mixlib/mix_vm_command.c
+++ b/mixlib/mix_vm_command.c
@@ -360,6 +360,7 @@ mix_vm_cmd_dispatcher_delete (mix_vm_cmd_dispatcher_t *dis)
#endif
for (k = 0; k < PRNO_; ++k) mix_predicate_delete (dis->preds[k]);
g_hash_table_foreach_remove (dis->mem_preds, del_pred_, NULL);
+ g_hash_table_destroy (dis->mem_preds);
g_free (dis);
}