Skip to content
Snippets Groups Projects
Commit 1cd884eb authored by Michael Stefaniuc's avatar Michael Stefaniuc Committed by Alexandre Julliard
Browse files

Due to a misplaced "}" memory wasn't freed on the error path.

parent 81a7aade
No related branches found
No related tags found
No related merge requests found
......@@ -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))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment