* Jonathan McDowell <noodles@earth.li>
*
* Copyright 2002 Project Purple
+ *
+ * $Id: mem.c,v 1.6 2003/06/07 13:45:35 noodles Exp $
*/
#include <assert.h>
#include <stdio.h>
#include <stdlib.h>
+#include <string.h>
#include "keystructs.h"
#include "ll.h"
#include "mem.h"
-#include "stats.h"
/**
* packet_dup - duplicate an OpenPGP packet.
llfree(key->sigs, NULL);
key->sigs = NULL;
}
+ if (key->signs != NULL) {
+ llfree(key->signs, NULL);
+ key->signs = NULL;
+ }
free(key);
}
}