changeset 966:dfc29c3df4f7

[mq]: fix-klist-leak
author Jeremy Henty <onepoint@starurchin.org>
date Sat, 28 Feb 2009 16:29:09 +0000
parents 9b0b8ae9b06a
children c8835b4dfdc7
files src/klist.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/klist.c	Sun Mar 01 12:34:00 2009 +0100
+++ b/src/klist.c	Sat Feb 28 16:29:09 2009 +0000
@@ -120,6 +120,7 @@
       dList_remove_fast(Klist->List, 0);
       dFree(node);
    }
+   dList_free(Klist->List);
    dFree(Klist);
    *KlistPtr = NULL;
 }