mirror of
https://github.com/veracrypt/VeraCrypt.git
synced 2025-11-11 11:08:02 -06:00
Windows: fix GetPhysicalDriveStorageInformation failure caused by device handle wrongly closed in GetDeviceStorageProperty
This commit is contained in:
@@ -7416,7 +7416,6 @@ static BOOL GetDeviceStorageProperty (HANDLE hDevice, STORAGE_PROPERTY_ID proper
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
dwRet = ::GetLastError();
|
dwRet = ::GetLastError();
|
||||||
::CloseHandle(hDevice);
|
|
||||||
|
|
||||||
if (!bRet)
|
if (!bRet)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user