[Pkg-gnupg-commit] [gnupg2] 85/160: g10: Fix memory leak.
Daniel Kahn Gillmor
dkg at fifthhorseman.net
Fri Jul 15 09:36:38 UTC 2016
This is an automated email from the git hooks/post-receive script.
dkg pushed a commit to branch upstream
in repository gnupg2.
commit eb4cdbefb05795b77a8a72189eff246b84442caf
Author: Justus Winter <justus at g10code.com>
Date: Thu Jun 30 18:45:02 2016 +0200
g10: Fix memory leak.
* g10/keygen.c (read_parameter_file): Free 'line'.
Signed-off-by: Justus Winter <justus at g10code.com>
---
g10/keygen.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/g10/keygen.c b/g10/keygen.c
index c561275..11eb587 100644
--- a/g10/keygen.c
+++ b/g10/keygen.c
@@ -3481,6 +3481,7 @@ read_parameter_file (ctrl_t ctrl, const char *fname )
xfree( outctrl.pub.newfname );
}
+ xfree (line);
release_parameter_list( para );
iobuf_close (fp);
release_armor_context (outctrl.pub.afx);
--
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