]> git.sommitrealweird.co.uk Git - onak.git/blobdiff - mem.c
Remove CVS Id tags.
[onak.git] / mem.c
diff --git a/mem.c b/mem.c
index bb68ac345c77d3b4189a0453da8028e4c3745751..83ffa55375e5713477d4d68dacadf59a6d5e73e0 100644 (file)
--- a/mem.c
+++ b/mem.c
@@ -9,6 +9,7 @@
 #include <assert.h>
 #include <stdio.h>
 #include <stdlib.h>
+#include <string.h>
 
 #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);
        }
 }