]> git.sommitrealweird.co.uk Git - onak.git/blobdiff - mem.c
cscvs to tla changeset 79
[onak.git] / mem.c
diff --git a/mem.c b/mem.c
index bb68ac345c77d3b4189a0453da8028e4c3745751..9bee71d14fe503e9278596f5f4a492db548c399a 100644 (file)
--- a/mem.c
+++ b/mem.c
@@ -4,6 +4,8 @@
  * Jonathan McDowell <noodles@earth.li>
  *
  * Copyright 2002 Project Purple
+ *
+ * $Id: mem.c,v 1.5 2003/06/04 20:57:10 noodles Exp $
  */
 
 #include <assert.h>
@@ -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);
        }
 }