[Pkg-gnupg-commit] [gnupg2] 49/205: common/exechelp: Fix handle leak.
Daniel Kahn Gillmor
dkg at fifthhorseman.net
Wed May 11 08:38:14 UTC 2016
This is an automated email from the git hooks/post-receive script.
dkg pushed a commit to branch experimental
in repository gnupg2.
commit dd670366d7aedb07e9420d1f8575197acfae1914
Author: Justus Winter <justus at g10code.com>
Date: Fri Jan 22 11:11:55 2016 +0100
common/exechelp: Fix handle leak.
* common/exechelp-w32.c (gnupg_spawn_process_detached): Close process
handle.
Signed-off-by: Justus Winter <justus at g10code.com>
---
common/exechelp-w32.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/common/exechelp-w32.c b/common/exechelp-w32.c
index e01be64..1a29973 100644
--- a/common/exechelp-w32.c
+++ b/common/exechelp-w32.c
@@ -829,6 +829,7 @@ gnupg_spawn_process_detached (const char *pgmname, const char *argv[],
/* (int) pi.dwProcessId, (int) pi.dwThreadId); */
CloseHandle (pi.hThread);
+ CloseHandle (pi.hProcess);
return 0;
}
--
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