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
commitb32560c287b0484ac111bc88678db75ad4487d56 (patch)
tree428a9007c1a2af533faa40b15f43af60c59eeac4 /mixlib
parent4ebfe08f558ec3745e84c0cc504221f0cbf61f57 (diff)
downloadmdk-b32560c287b0484ac111bc88678db75ad4487d56.tar.gz
mdk-b32560c287b0484ac111bc88678db75ad4487d56.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);
}