diff options
| author | LePresidente <brian.alexander.munro@gmail.com> | 2017-11-04 09:54:47 +0200 |
|---|---|---|
| committer | LePresidente <brian.alexander.munro@gmail.com> | 2017-11-04 09:54:47 +0200 |
| commit | 901bf0059d68c0c84039a3bf248a308c243e4664 (patch) | |
| tree | d8ea5847118f89dc39791b6635d48dda31b7961a /src | |
| parent | b2d0abe0e4a264bc82739cfbbe2861f896642b49 (diff) | |
processes should be deleted at end of waitForProcessCompletion
Diffstat (limited to 'src')
| -rw-r--r-- | src/organizercore.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/organizercore.cpp b/src/organizercore.cpp index 26b726e9..76fc3eef 100644 --- a/src/organizercore.cpp +++ b/src/organizercore.cpp @@ -1321,6 +1321,7 @@ bool OrganizerCore::waitForProcessCompletion(HANDLE handle, LPDWORD exitCode) if (handle != processHandle) {
::CloseHandle(handle);
}
+ delete[] processes;
return res == WAIT_OBJECT_0;
}
|
