projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e82a5fa
)
IRTests/WaymarkTest.cpp: Fix in --vg-leak.
author
NAKAMURA Takumi
<geek4civic@gmail.com>
Wed, 23 Jan 2013 08:33:05 +0000
(08:33 +0000)
committer
NAKAMURA Takumi
<geek4civic@gmail.com>
Wed, 23 Jan 2013 08:33:05 +0000
(08:33 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@173239
91177308
-0d34-0410-b5e6-
96231b3b80d8
unittests/IR/WaymarkTest.cpp
patch
|
blob
|
history
diff --git
a/unittests/IR/WaymarkTest.cpp
b/unittests/IR/WaymarkTest.cpp
index dd91704d137e16db0aef07e34cafcf41089e3045..cf7d76dffc978ed3e2a778634f513bcb9a739807 100644
(file)
--- 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