X-Git-Url: https://git.sommitrealweird.co.uk/onak.git/blobdiff_plain/ed841dbf668ab9b92868064f0baada6c922322a8..1a72b8d85895fc9ffba0d8f6a9240634ce6ee8dc:/mem.c?ds=sidebyside 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);