X-Git-Url: https://git.sommitrealweird.co.uk/onak.git/blobdiff_plain/5913c95f2c7abf4c3cb06e27d384d80fb4c83547..7b7cb978ab032edb192effcd9eac443d8800b565:/mem.c?ds=sidebyside diff --git a/mem.c b/mem.c index bb68ac3..9bee71d 100644 --- a/mem.c +++ b/mem.c @@ -4,6 +4,8 @@ * Jonathan McDowell * * Copyright 2002 Project Purple + * + * $Id: mem.c,v 1.5 2003/06/04 20:57:10 noodles Exp $ */ #include @@ -187,6 +189,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); } }