fix: lttng_ht_destroy memleak
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mon, 19 Mar 2012 21:10:20 +0000 (17:10 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mon, 19 Mar 2012 21:10:20 +0000 (17:10 -0400)
Acked-by: David Goulet <dgoulet@efficios.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
src/common/hashtable/hashtable.c

index 187a4d6b3ebabf4c6b6c612bcb8f36835ba3a24b..ac39004e64617eceb6f1ba7d2b5b479021e50237 100644 (file)
@@ -110,6 +110,7 @@ void lttng_ht_destroy(struct lttng_ht *ht)
 
        ret = cds_lfht_destroy(ht->ht, NULL);
        assert(!ret);
+       free(ht);
 }
 
 /*
This page took 0.026075 seconds and 4 git commands to generate.