[Pkg-gnupg-commit] [gnupg2] 16/292: g10: Fix memory leak.

Daniel Kahn Gillmor dkg at fifthhorseman.net
Mon Nov 21 06:31:21 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 086d219d96caa3501048aff82a282481e07c195b
Author: Justus Winter <justus at g10code.com>
Date:   Mon Sep 19 12:32:50 2016 +0200

    g10: Fix memory leak.
    
    * g10/tofu.c (build_conflict_set): Free 'kb_all'.
    
    Signed-off-by: Justus Winter <justus at g10code.com>
---
 g10/tofu.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/g10/tofu.c b/g10/tofu.c
index b78279e..1bd8ce2 100644
--- a/g10/tofu.c
+++ b/g10/tofu.c
@@ -1999,6 +1999,7 @@ build_conflict_set (tofu_dbs_t dbs, const char *fingerprint, const char *email)
     log_assert (conflict_set);
     log_assert (conflict_set_count >= 1);
   }
+  xfree (kb_all);
 
   if (DBG_TRUST)
     {

-- 
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