X-Git-Url: https://git.sommitrealweird.co.uk/onak.git/blobdiff_plain/5913c95f2c7abf4c3cb06e27d384d80fb4c83547..3eae5368f1c625257a93a18bec49a5a500b3f78e:/mem.c 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); } }