X-Git-Url: https://git.sommitrealweird.co.uk/onak.git/blobdiff_plain/ed841dbf668ab9b92868064f0baada6c922322a8..635bd88df1273656324ee0c47dba6275259674b4:/mem.c?ds=inline diff --git a/mem.c b/mem.c index 00507ab..47f2967 100644 --- a/mem.c +++ b/mem.c @@ -150,9 +150,9 @@ void free_publickey(struct openpgp_publickey *key) { free_packet(key->publickey); key->publickey = NULL; } - if (key->revocations != NULL) { - free_packet_list(key->revocations); - key->revocations = NULL; + if (key->sigs != NULL) { + free_packet_list(key->sigs); + key->sigs = NULL; } if (key->uids != NULL) { free_signedpacket_list(key->uids);