mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-03 22:56:33 +02: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
1 changed files with 0 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue