mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-25 20:23:11 +01:00
[LinkerTest] Don't leak error string.
llvm-svn: 239673
This commit is contained in:
parent
0f06a86b5d
commit
06af784440
@ -216,6 +216,7 @@ TEST_F(LinkModuleTest, CAPIFailure) {
|
||||
LLVMLinkerDestroySource, &errout);
|
||||
EXPECT_EQ(1, result);
|
||||
EXPECT_STREQ("Linking globals named 'foo': symbol multiply defined!", errout);
|
||||
std::free(errout);
|
||||
}
|
||||
|
||||
} // end anonymous namespace
|
||||
|
Loading…
Reference in New Issue
Block a user