X-Git-Url: https://the.earth.li/gitweb/?a=blobdiff_plain;f=mem.c;h=83ffa55375e5713477d4d68dacadf59a6d5e73e0;hb=807aad387f6698a1eec1acf340496f064cb04cbb;hp=bb68ac345c77d3b4189a0453da8028e4c3745751;hpb=5913c95f2c7abf4c3cb06e27d384d80fb4c83547;p=onak.git diff --git a/mem.c b/mem.c index bb68ac3..83ffa55 100644 --- a/mem.c +++ b/mem.c @@ -9,6 +9,7 @@ #include #include #include +#include #include "keystructs.h" #include "ll.h" @@ -187,6 +188,10 @@ void free_statskey(struct stats_key *key) llfree(key->sigs, NULL); key->sigs = NULL; } + if (key->signs != NULL) { + llfree(key->signs, NULL); + key->signs = NULL; + } free(key); } }