mirror of
https://github.com/reactos/reactos.git
synced 2026-06-01 08:50:24 +08:00
[SHELLBTRFS] Upgrade to 1.0.2
CORE-14655
This commit is contained in:
@@ -900,6 +900,7 @@ BOOL BtrfsContextMenu::reflink_copy(HWND hwnd, const WCHAR* fn, const WCHAR* dir
|
||||
|
||||
if (stream == INVALID_HANDLE_VALUE) {
|
||||
ShowError(hwnd, GetLastError());
|
||||
FindClose(h);
|
||||
goto end;
|
||||
}
|
||||
|
||||
@@ -909,6 +910,7 @@ BOOL BtrfsContextMenu::reflink_copy(HWND hwnd, const WCHAR* fn, const WCHAR* dir
|
||||
|
||||
if (!ReadFile(stream, data, fsd.StreamSize.QuadPart, &bytesret, NULL)) {
|
||||
ShowError(hwnd, GetLastError());
|
||||
FindClose(h);
|
||||
free(data);
|
||||
CloseHandle(stream);
|
||||
goto end;
|
||||
@@ -922,6 +924,7 @@ BOOL BtrfsContextMenu::reflink_copy(HWND hwnd, const WCHAR* fn, const WCHAR* dir
|
||||
if (stream == INVALID_HANDLE_VALUE) {
|
||||
ShowError(hwnd, GetLastError());
|
||||
|
||||
FindClose(h);
|
||||
if (data) free(data);
|
||||
|
||||
goto end;
|
||||
@@ -930,6 +933,7 @@ BOOL BtrfsContextMenu::reflink_copy(HWND hwnd, const WCHAR* fn, const WCHAR* dir
|
||||
if (data) {
|
||||
if (!WriteFile(stream, data, fsd.StreamSize.QuadPart, &bytesret, NULL)) {
|
||||
ShowError(hwnd, GetLastError());
|
||||
FindClose(h);
|
||||
free(data);
|
||||
CloseHandle(stream);
|
||||
goto end;
|
||||
|
||||
Reference in New Issue
Block a user