common,w32: Fix gnupg_process_release.

* common/exechelp-w32.c: Close the handle of the process.

Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
This commit is contained in:
NIIBE Yutaka 2023-05-25 11:36:11 +09:00
parent 000b82ade7
commit 6984ddc6eb
No known key found for this signature in database
GPG Key ID: 640114AF89DE6054
1 changed files with 1 additions and 0 deletions

View File

@ -1213,6 +1213,7 @@ gnupg_process_release (gnupg_process_t process)
gnupg_process_wait (process, 1);
}
CloseHandle (process->hProcess);
xfree (process);
}