aboutsummaryrefslogtreecommitdiffstats
path: root/common/exechelp-w32.c
diff options
context:
space:
mode:
authorNIIBE Yutaka <[email protected]>2023-05-25 02:36:11 +0000
committerNIIBE Yutaka <[email protected]>2023-05-25 04:43:41 +0000
commit6984ddc6ebf5b95f7e78076abb798875805498e6 (patch)
treea9816b3702c80428690e9892bccb8a27cdb4a463 /common/exechelp-w32.c
parentgpg: Return ERROR status for --quick-sign-key. (diff)
downloadgnupg-6984ddc6ebf5b95f7e78076abb798875805498e6.tar.gz
gnupg-6984ddc6ebf5b95f7e78076abb798875805498e6.zip
common,w32: Fix gnupg_process_release.
* common/exechelp-w32.c: Close the handle of the process. Signed-off-by: NIIBE Yutaka <[email protected]>
Diffstat (limited to 'common/exechelp-w32.c')
-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 8057cc3b4..f63341e7c 100644
--- a/common/exechelp-w32.c
+++ b/common/exechelp-w32.c
@@ -1213,6 +1213,7 @@ gnupg_process_release (gnupg_process_t process)
gnupg_process_wait (process, 1);
}
+ CloseHandle (process->hProcess);
xfree (process);
}