X-Git-Url: https://the.earth.li/gitweb/?a=blobdiff_plain;f=mem.c;h=4a713e4ea5dec6b67fdfb8ff78a0ea22551432e9;hb=46c27e2883a78388c895dc883dbb9b902fc8350d;hp=bb68ac345c77d3b4189a0453da8028e4c3745751;hpb=5913c95f2c7abf4c3cb06e27d384d80fb4c83547;p=onak.git diff --git a/mem.c b/mem.c index bb68ac3..4a713e4 100644 --- a/mem.c +++ b/mem.c @@ -4,11 +4,14 @@ * Jonathan McDowell * * Copyright 2002 Project Purple + * + * $Id: mem.c,v 1.6 2003/06/07 13:45:35 noodles Exp $ */ #include #include #include +#include #include "keystructs.h" #include "ll.h" @@ -187,6 +190,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); } }