mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-25 21:16:19 +00:00
Fix a bug in previous checkin
llvm-svn: 19769
This commit is contained in:
parent
1eec94fd8b
commit
ea7baf8d9f
@ -239,9 +239,9 @@ int llvm::DiffFilesWithTolerance(const std::string &FileA,
|
||||
}
|
||||
|
||||
if (OrigFile1Start != File1Start)
|
||||
delete[] File1Start;
|
||||
delete[] File1Start-1; // Back up past null byte
|
||||
if (OrigFile2Start != File2Start)
|
||||
delete[] File2Start;
|
||||
delete[] File2Start-1; // Back up past null byte
|
||||
return CompareFailed;
|
||||
} catch (const std::string &Msg) {
|
||||
if (Error) *Error = Msg;
|
||||
|
Loading…
Reference in New Issue
Block a user