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