mirror of
https://github.com/pbatard/rufus.git
synced 2025-05-19 01:15:12 -04:00
[vhd] fix broken save to VHD cheat mode
* vhd_save wasn't static, which of course created all kind of issues when the VHD save thread tried to use it while it was being freed... * Closes #591
This commit is contained in:
parent
4788ee25d2
commit
ff9eae4e6d
3 changed files with 12 additions and 9 deletions
|
@ -1975,7 +1975,7 @@ DWORD WINAPI SaveImageThread(void* param)
|
|||
{
|
||||
BOOL s;
|
||||
DWORD rSize, wSize;
|
||||
VHD_SAVE *vhd_save = param;
|
||||
VHD_SAVE *vhd_save = (VHD_SAVE*)param;
|
||||
HANDLE hPhysicalDrive = INVALID_HANDLE_VALUE;
|
||||
HANDLE hDestImage = INVALID_HANDLE_VALUE;
|
||||
LARGE_INTEGER li;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue