commit | d422e9f114ec11073a63e0fa9ecbfe3aeedf0fbb | [log] [tgz] |
---|---|---|
author | NAKAMURA Takumi <geek4civic@gmail.com> | Wed Jan 23 08:33:05 2013 +0000 |
committer | NAKAMURA Takumi <geek4civic@gmail.com> | Wed Jan 23 08:33:05 2013 +0000 |
tree | 389cad1ccd87e6110723a194cf6ecabf9cbbf4c6 | |
parent | e82a5fae0309eee5a253e84b77f84525bdcbf111 [diff] [blame] |
IRTests/WaymarkTest.cpp: Fix in --vg-leak. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@173239 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/unittests/IR/WaymarkTest.cpp b/unittests/IR/WaymarkTest.cpp index dd91704..cf7d76d 100644 --- a/unittests/IR/WaymarkTest.cpp +++ b/unittests/IR/WaymarkTest.cpp
@@ -38,6 +38,7 @@ { EXPECT_EQ(A, U->getUser()); } + delete A; } TEST(WaymarkTest, TwoBit) { @@ -48,6 +49,7 @@ { EXPECT_EQ(reinterpret_cast<User *>(Ue + 1), U->getUser()); } + free(many); } } // end anonymous namespace