diff options
author | Simon Rozman <simon@rozman.si> | 2020-11-16 20:02:15 +0100 |
---|---|---|
committer | Simon Rozman <simon@rozman.si> | 2020-11-16 20:07:27 +0100 |
commit | 454795e084996c7c813d18c9a954c16f9856edd9 (patch) | |
tree | 1f71fab76996212a975cdebbc6d0e857e4b810ea /installer | |
parent | conf: move configuration to C:\Program Files\WireGuard\Data (diff) | |
download | wireguard-windows-454795e084996c7c813d18c9a954c16f9856edd9.tar.xz wireguard-windows-454795e084996c7c813d18c9a954c16f9856edd9.zip |
installer: add missing thread handle close
Signed-off-by: Simon Rozman <simon@rozman.si>
Diffstat (limited to 'installer')
-rw-r--r-- | installer/customactions.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/installer/customactions.c b/installer/customactions.c index c35b693f..72ee0ae3 100644 --- a/installer/customactions.c +++ b/installer/customactions.c @@ -467,6 +467,7 @@ __declspec(dllexport) UINT __stdcall RemoveAdapters(MSIHANDLE installer) } WaitForSingleObject(pi.hProcess, INFINITE); CloseHandle(pi.hProcess); + CloseHandle(pi.hThread); goto cleanup_pipe_r; cleanup_pipe_w: |