g10: Fix memory leak.
authorJustus Winter <justus@g10code.com>
Tue, 22 Nov 2016 11:07:55 +0000 (12:07 +0100)
committerJustus Winter <justus@g10code.com>
Tue, 22 Nov 2016 11:09:47 +0000 (12:09 +0100)
* g10/tofu.c (tofu_notice_key_changed): Remove spurious duplicate call
to 'hexfingerprint'.

Fixes-commit: 037f9de09298a31026ea2ab5fbd4a599b11cc34f
Signed-off-by: Justus Winter <justus@g10code.com>
g10/tofu.c

index 9693893..6eb7f5e 100644 (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)
     {