[git] GnuPG - branch, master, updated. gnupg-2.1.15-364-g809d67e
by Justus Winter
cvs at cvs.gnupg.org
Tue Nov 15 11:49:45 CET 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 809d67e74014cb563efd965744fd11f87bbae743 (commit)
from 64a58e23c38db8658423bbe26fcd650330e24a88 (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 809d67e74014cb563efd965744fd11f87bbae743
Author: Justus Winter <justus at g10code.com>
Date: Tue Nov 15 11:46:40 2016 +0100
g10: Fix memory leak.
* g10/keyedit.c (menu_adduid): Deallocate 'sig'.
Signed-off-by: Justus Winter <justus at g10code.com>
diff --git a/g10/keyedit.c b/g10/keyedit.c
index ffc0da7..4fba224 100644
--- a/g10/keyedit.c
+++ b/g10/keyedit.c
@@ -4350,6 +4350,7 @@ menu_adduid (ctrl_t ctrl, kbnode_t pub_keyblock,
pkt = xmalloc_clear (sizeof *pkt);
pkt->pkttype = PKT_SIGNATURE;
pkt->pkt.signature = copy_signature (NULL, sig);
+ free_seckey_enc (sig);
if (pub_where)
insert_kbnode (node, new_kbnode (pkt), 0);
else
-----------------------------------------------------------------------
Summary of changes:
g10/keyedit.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