diff options
Diffstat (limited to 'unittests/IR')
-rw-r--r-- | unittests/IR/WaymarkTest.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/unittests/IR/WaymarkTest.cpp b/unittests/IR/WaymarkTest.cpp index dd91704d13..cf7d76dffc 100644 --- a/unittests/IR/WaymarkTest.cpp +++ b/unittests/IR/WaymarkTest.cpp @@ -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 |