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:
parent
037f9de092
commit
6ce14a805f
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user