mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-04-06 09:44:39 +00:00
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:
parent
e82a5fae03
commit
d422e9f114
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user