diff options
Diffstat (limited to 'src/util.cpp')
-rw-r--r-- | src/util.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/util.cpp b/src/util.cpp index b1ba148..a0cf5b3 100644 --- a/src/util.cpp +++ b/src/util.cpp @@ -158,6 +158,7 @@ int iSystem(const char *command,const char *args,bool isBatchFile) else if (sInfo.hProcess) /* executable was launched, wait for it to finish */ { WaitForSingleObject(sInfo.hProcess,INFINITE); + CloseHandle(sInfo.hProcess); } } return 0; |