Jon Doron : kernel32: Fix MoveFileWithProgressW from closing same handle twice.
Alexandre Julliard
julliard at winehq.org
Tue Jan 29 15:18:17 CST 2019
Module: wine
Branch: master
Commit: 69d3c7a00f37badf6a5661ab0c176963fe63dc42
URL: https://source.winehq.org/git/wine.git/?a=commit;h=69d3c7a00f37badf6a5661ab0c176963fe63dc42
Author: Jon Doron <arilou at gmail.com>
Date: Fri Jan 11 10:24:44 2019 +0200
kernel32: Fix MoveFileWithProgressW from closing same handle twice.
Signed-off-by: Jon Doron <arilou at gmail.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/kernel32/path.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/dlls/kernel32/path.c b/dlls/kernel32/path.c
index 41f0d34..554f96a 100644
--- a/dlls/kernel32/path.c
+++ b/dlls/kernel32/path.c
@@ -1392,6 +1392,7 @@ BOOL WINAPI MoveFileWithProgressW( LPCWSTR source, LPCWSTR dest,
}
NtClose( dest_handle );
+ dest_handle = NULL;
}
else if (status != STATUS_OBJECT_NAME_NOT_FOUND)
{
More information about the wine-cvs
mailing list