X-Git-Url: https://git.sommitrealweird.co.uk/onak.git/blobdiff_plain/42bcfe2cae29f375af4cf2cd3ccfa196b77a3946..87fbdd69b1885c6588ec924e37b734f2c3c5ed35:/keydb_db2.c diff --git a/keydb_db2.c b/keydb_db2.c index 1303cd8..7490ff3 100644 --- a/keydb_db2.c +++ b/keydb_db2.c @@ -183,6 +183,8 @@ int fetch_key(uint64_t keyid, struct openpgp_publickey **publickey, fetchbuf.size = data.size; read_openpgp_stream(buffer_fetchchar, &fetchbuf, &packets); parse_keys(packets, publickey); + free_packet_list(packets); + packets = NULL; } return (!ret);