llvm.org GIT mirror llvm / d422e9f
IRTests/WaymarkTest.cpp: Fix in --vg-leak. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@173239 91177308-0d34-0410-b5e6-96231b3b80d8 NAKAMURA Takumi 6 years ago
1 changed file(s) with 2 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
3737 {
3838 EXPECT_EQ(A, U->getUser());
3939 }
40 delete A;
4041 }
4142
4243 TEST(WaymarkTest, TwoBit) {
4748 {
4849 EXPECT_EQ(reinterpret_cast(Ue + 1), U->getUser());
4950 }
51 free(many);
5052 }
5153
5254 } // end anonymous namespace