[git] GnuPG - branch, master, updated. gnupg-2.1.15-131-g086d219

by Justus Winter cvs at cvs.gnupg.org
Mon Sep 19 12:34:20 CEST 2016


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "The GNU Privacy Guard".

The branch, master has been updated
       via  086d219d96caa3501048aff82a282481e07c195b (commit)
      from  293d265290e0556f57f4812d66b6be87a3b91b9a (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

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

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

-----------------------------------------------------------------------

Summary of changes:
 g10/tofu.c | 1 +
 1 file changed, 1 insertion(+)


hooks/post-receive
-- 
The GNU Privacy Guard
http://git.gnupg.org




More information about the Gnupg-commits mailing list