mirror of
git://git.gnupg.org/gnupg.git
synced 2025-01-05 12:31:50 +01:00
g10: Fix memory leak.
* g10/tofu.c (tofu_notice_key_changed): Remove spurious duplicate call to 'hexfingerprint'. Fixes-commit: 037f9de09298a31026ea2ab5fbd4a599b11cc34f Signed-off-by: Justus Winter <justus@g10code.com>
This commit is contained in:
parent
037f9de092
commit
6ce14a805f
@ -3712,8 +3712,6 @@ tofu_notice_key_changed (ctrl_t ctrl, kbnode_t kb)
|
|||||||
pk = kb->pkt->pkt.public_key;
|
pk = kb->pkt->pkt.public_key;
|
||||||
log_assert (pk_is_primary (pk));
|
log_assert (pk_is_primary (pk));
|
||||||
|
|
||||||
fingerprint = hexfingerprint (pk, NULL, 0);
|
|
||||||
|
|
||||||
dbs = opendbs (ctrl);
|
dbs = opendbs (ctrl);
|
||||||
if (! dbs)
|
if (! dbs)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user