diff options
author | Vladislav Vaintroub <wlad@mariadb.com> | 2021-11-16 00:18:12 +0100 |
---|---|---|
committer | Vladislav Vaintroub <wlad@mariadb.com> | 2021-11-16 01:51:35 +0100 |
commit | c5e09bf81a6b5c9c117611f81371a1d6393c45ae (patch) | |
tree | e6223c9c56bd71bf61a2ff10fefa0b1aea5c5540 /win | |
parent | 9e9e91b3c2489b69d50d721a9f91b290d9363025 (diff) | |
download | mariadb-git-c5e09bf81a6b5c9c117611f81371a1d6393c45ae.tar.gz |
MDEV-27056 Windows upgrade_wizard - CloseHandle() on invalid (already closed) pipe handle
Diffstat (limited to 'win')
-rw-r--r-- | win/upgrade_wizard/upgradeDlg.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/win/upgrade_wizard/upgradeDlg.cpp b/win/upgrade_wizard/upgradeDlg.cpp index d0dd6a3fa75..6ceec3612cb 100644 --- a/win/upgrade_wizard/upgradeDlg.cpp +++ b/win/upgrade_wizard/upgradeDlg.cpp @@ -447,7 +447,7 @@ void CUpgradeDlg::UpgradeOneService(const string& servicename) output_line.push_back(pipeReadBuf[0]); } } - CloseHandle(hPipeWrite); + CloseHandle(hPipeRead); if(WaitForSingleObject(pi.hProcess, INFINITE) != WAIT_OBJECT_0) ErrorExit("WaitForSingleObject failed"); |