IRTests/WaymarkTest.cpp: Fix in --vg-leak.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@173239 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
NAKAMURA Takumi 2013-01-23 08:33:05 +00:00
parent e82a5fae03
commit d422e9f114

View File

@ -38,6 +38,7 @@ TEST(WaymarkTest, NativeArray) {
{
EXPECT_EQ(A, U->getUser());
}
delete A;
}
TEST(WaymarkTest, TwoBit) {
@ -48,6 +49,7 @@ TEST(WaymarkTest, TwoBit) {
{
EXPECT_EQ(reinterpret_cast<User *>(Ue + 1), U->getUser());
}
free(many);
}
} // end anonymous namespace