X-Git-Url: https://git.sommitrealweird.co.uk/onak.git/blobdiff_plain/6e719fc77846c969252cd51c2639ecb2c61bc941..0d2a5aeeb4120999afc79d06619d90e26e2fec5c:/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);