diff options
| author | Andrzej Wojtas <38528584+avjts@users.noreply.github.com> | 2024-01-20 12:14:02 +0100 |
|---|---|---|
| committer | Bob Arnson <github@bobs.org> | 2024-01-22 13:31:12 -0500 |
| commit | bf1e74b78ebe345908c3cb09280194798f63835a (patch) | |
| tree | fc81858a50c5e34d0ba0f39d6fc3e605a631f6d1 /src/libs/dutil/WixToolset.DUtil/procutil.cpp | |
| parent | dfea4478a4938ce738fd49282350d36c73fb9a35 (diff) | |
| download | wix-bf1e74b78ebe345908c3cb09280194798f63835a.tar.gz wix-bf1e74b78ebe345908c3cb09280194798f63835a.tar.bz2 wix-bf1e74b78ebe345908c3cb09280194798f63835a.zip | |
Fix crash when CloseApplications_X64 closes Electron app
Diffstat (limited to '')
| -rw-r--r-- | src/libs/dutil/WixToolset.DUtil/procutil.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libs/dutil/WixToolset.DUtil/procutil.cpp b/src/libs/dutil/WixToolset.DUtil/procutil.cpp index aba3b495..6cd3214c 100644 --- a/src/libs/dutil/WixToolset.DUtil/procutil.cpp +++ b/src/libs/dutil/WixToolset.DUtil/procutil.cpp | |||
| @@ -517,7 +517,7 @@ extern "C" HRESULT DAPI ProcWaitForIds( | |||
| 517 | DWORD cProcesses = 0; | 517 | DWORD cProcesses = 0; |
| 518 | BOOL fTimedOut = FALSE; | 518 | BOOL fTimedOut = FALSE; |
| 519 | 519 | ||
| 520 | rghProcesses = static_cast<HANDLE*>(MemAlloc(sizeof(DWORD) * cProcessIds, TRUE)); | 520 | rghProcesses = static_cast<HANDLE*>(MemAlloc(sizeof(HANDLE) * cProcessIds, TRUE)); |
| 521 | ProcExitOnNull(rgdwProcessIds, hr, E_OUTOFMEMORY, "Failed to allocate array for process ID Handles."); | 521 | ProcExitOnNull(rgdwProcessIds, hr, E_OUTOFMEMORY, "Failed to allocate array for process ID Handles."); |
| 522 | 522 | ||
| 523 | for (DWORD i = 0; i < cProcessIds; ++i) | 523 | for (DWORD i = 0; i < cProcessIds; ++i) |
