kernel32: Fix MoveFileWithProgressW from closing same handle twice.
Signed-off-by: Jon Doron <arilou@gmail.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
b90bbcbe75
commit
69d3c7a00f
|
@ -1392,6 +1392,7 @@ BOOL WINAPI MoveFileWithProgressW( LPCWSTR source, LPCWSTR dest,
|
||||||
}
|
}
|
||||||
|
|
||||||
NtClose( dest_handle );
|
NtClose( dest_handle );
|
||||||
|
dest_handle = NULL;
|
||||||
}
|
}
|
||||||
else if (status != STATUS_OBJECT_NAME_NOT_FOUND)
|
else if (status != STATUS_OBJECT_NAME_NOT_FOUND)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue