projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d86cd78
)
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)
llvm-svn: 173239
llvm/unittests/IR/WaymarkTest.cpp
patch
|
blob
|
history
diff --git
a/llvm/unittests/IR/WaymarkTest.cpp
b/llvm/unittests/IR/WaymarkTest.cpp
index
dd91704
..
cf7d76d
100644
(file)
--- a/
llvm/unittests/IR/WaymarkTest.cpp
+++ b/
llvm/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