1
0
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:
Benjamin Kramer 2015-06-13 12:53:21 +00:00
parent 0f06a86b5d
commit 06af784440

View File

@ -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