diff options
Diffstat (limited to 'sal')
-rw-r--r-- | sal/osl/w32/procimpl.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sal/osl/w32/procimpl.cxx b/sal/osl/w32/procimpl.cxx index f36a3c90b073..d271c391eed7 100644 --- a/sal/osl/w32/procimpl.cxx +++ b/sal/osl/w32/procimpl.cxx @@ -576,6 +576,8 @@ oslProcessError SAL_CALL osl_executeProcess_WithRedirectedIO( return osl_Process_E_None; } + else + CloseHandle(process_info.hProcess); } /* if an error occurred we have to close the server side pipe ends too */ |