1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-11-10 21:38:50 +01:00

g10: Fix memory leak.

* g10/tofu.c (tofu_notice_key_changed): Remove spurious duplicate call
to 'hexfingerprint'.

Fixes-commit: 037f9de092
Signed-off-by: Justus Winter <justus@g10code.com>
This commit is contained in:
Justus Winter 2016-11-22 12:07:55 +01:00
parent 037f9de092
commit 6ce14a805f

View File

@ -3712,8 +3712,6 @@ tofu_notice_key_changed (ctrl_t ctrl, kbnode_t kb)
pk = kb->pkt->pkt.public_key;
log_assert (pk_is_primary (pk));
fingerprint = hexfingerprint (pk, NULL, 0);
dbs = opendbs (ctrl);
if (! dbs)
{