[git] GnuPG - branch, master, updated. gnupg-2.1.21-33-g13dc75a
by Andre Heinecke
cvs at cvs.gnupg.org
Wed Jun 7 15:34:36 CEST 2017
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 13dc75a4e7cc2959003c08940fc53c6ece7b77e4 (commit)
from 96acbdd7265f504d06783adfd6322a6675c41c0a (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 13dc75a4e7cc2959003c08940fc53c6ece7b77e4
Author: Andre Heinecke <aheinecke at intevation.de>
Date: Wed Jun 7 15:30:14 2017 +0200
speedo: Fix a minor memleak in the installer
* build-aux/speedo/w32/g4wihelp.c (path_remove): Free path_new on
early return.
--
It's a weird condition in a once run function in a throwaway
process but -- yeah. It's a memleak and static analysis can
see it.
GnuPG-Bug-Id: T3197
Signed-off-by: Andre Heinecke <aheinecke at intevation.de>
diff --git a/build-aux/speedo/w32/g4wihelp.c b/build-aux/speedo/w32/g4wihelp.c
index d62d036..626f3f1 100644
--- a/build-aux/speedo/w32/g4wihelp.c
+++ b/build-aux/speedo/w32/g4wihelp.c
@@ -1159,7 +1159,10 @@ path_remove (HWND hwndParent, int string_size, char *variables,
free (path);
if (! changed)
- return;
+ {
+ free (path_new);
+ return;
+ }
/* Set a key for our CLSID. */
RegCreateKey (root_key, env_reg, &key_handle);
-----------------------------------------------------------------------
Summary of changes:
build-aux/speedo/w32/g4wihelp.c | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
hooks/post-receive
--
The GNU Privacy Guard
http://git.gnupg.org
More information about the Gnupg-commits
mailing list