mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-31 12:54:13 +00:00
Due to a misplaced "}" memory wasn't freed on the error path.
This commit is contained in:
parent
81a7aade60
commit
1cd884eb5c
1 changed files with 2 additions and 2 deletions
|
@ -1036,9 +1036,9 @@ BOOL static do_file_copyW( LPCWSTR source, LPCWSTR target, DWORD style)
|
|||
docopy = FALSE;
|
||||
}
|
||||
}
|
||||
HeapFree(GetProcessHeap(),0,VersionSource);
|
||||
HeapFree(GetProcessHeap(),0,VersionTarget);
|
||||
}
|
||||
HeapFree(GetProcessHeap(),0,VersionSource);
|
||||
HeapFree(GetProcessHeap(),0,VersionTarget);
|
||||
}
|
||||
}
|
||||
if (style & (SP_COPY_NOOVERWRITE | SP_COPY_FORCE_NOOVERWRITE))
|
||||
|
|
Loading…
Reference in a new issue