Code

fix leak on exit
authorRuben Kerkhof <ruben@rubenkerkhof.com>
Sat, 4 Jul 2015 18:02:57 +0000 (20:02 +0200)
committerFlorian Forster <octo@collectd.org>
Fri, 10 Jul 2015 09:23:12 +0000 (11:23 +0200)
src/utils_llist.c

index 11f838d248f6ab799c53654569f683af07db6d2d..c88396098904793191b6bb6f848f1c17d2278fa3 100644 (file)
@@ -88,6 +88,7 @@ llentry_t *llentry_create (char *key, void *value)
 
 void llentry_destroy (llentry_t *e)
 {
+       free (e->key);
        free (e);
 }