Due to a misplaced "}" memory wasn't freed on the error path.
This commit is contained in:
parent
81a7aade60
commit
1cd884eb5c
|
@ -1036,11 +1036,11 @@ BOOL static do_file_copyW( LPCWSTR source, LPCWSTR target, DWORD style)
|
|||
docopy = FALSE;
|
||||
}
|
||||
}
|
||||
}
|
||||
HeapFree(GetProcessHeap(),0,VersionSource);
|
||||
HeapFree(GetProcessHeap(),0,VersionTarget);
|
||||
}
|
||||
}
|
||||
}
|
||||
if (style & (SP_COPY_NOOVERWRITE | SP_COPY_FORCE_NOOVERWRITE))
|
||||
{
|
||||
if (GetFileAttributesW(target) != INVALID_FILE_ATTRIBUTES)
|
||||
|
|
Loading…
Reference in New Issue