aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--common/exechelp-w32.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/common/exechelp-w32.c b/common/exechelp-w32.c
index e01be64d7..1a29973e6 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;
}