[Pkg-gnupg-commit] [gnupg2] 10/180: g10: Fix memory leak.

Daniel Kahn Gillmor dkg at fifthhorseman.net
Sat Dec 24 22:29:02 UTC 2016


This is an automated email from the git hooks/post-receive script.

dkg pushed a commit to branch master
in repository gnupg2.

commit 6ce14a805f1da687dfb8535db57730d5c7403db7
Author: Justus Winter <justus at g10code.com>
Date:   Tue Nov 22 12:07:55 2016 +0100

    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 <justus at g10code.com>
---
 g10/tofu.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/g10/tofu.c b/g10/tofu.c
index 9693893..6eb7f5e 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)
     {

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-gnupg/gnupg2.git



More information about the Pkg-gnupg-commit mailing list