X-Git-Url: https://git.sommitrealweird.co.uk/onak.git/blobdiff_plain/ed841dbf668ab9b92868064f0baada6c922322a8..8a1337cda8055ff06e54c1def4b13eea133c7672:/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);