diff options
author | Andrzej Wojtas <38528584+avjts@users.noreply.github.com> | 2024-01-20 12:14:02 +0100 |
---|---|---|
committer | Rob Mensching <rob@firegiant.com> | 2024-02-06 07:54:28 -0800 |
commit | 74ef526a2252f794465b2146c4c32c348284cf91 (patch) | |
tree | cfa8e06bcdbc12a40ac185c214eff324975f8ee9 | |
parent | b22869018d81b781ae129f650ace78a1ed0530ae (diff) | |
download | wix-74ef526a2252f794465b2146c4c32c348284cf91.tar.gz wix-74ef526a2252f794465b2146c4c32c348284cf91.tar.bz2 wix-74ef526a2252f794465b2146c4c32c348284cf91.zip |
Fix crash when CloseApplications_X64 closes Electron app
-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) |