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

llvm-svn: 173239
This commit is contained in:
NAKAMURA Takumi 2013-01-23 08:33:05 +00:00
parent d86cd7855b
commit 6d951b7cff
1 changed files with 2 additions and 0 deletions

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