fix: lttng_ht_destroy memleak
[lttng-tools.git] / 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.024055 seconds and 5 git commands to generate.