From 6ce14a805f1da687dfb8535db57730d5c7403db7 Mon Sep 17 00:00:00 2001 From: Justus Winter Date: Tue, 22 Nov 2016 12:07:55 +0100 Subject: 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 --- g10/tofu.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/g10/tofu.c b/g10/tofu.c index 96938931f..6eb7f5e99 100644 --- a/g10/tofu.c +++ b/g10/tofu.c @@ -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) { -- cgit v1.2.3