diff options
author | Gabor Greif <ggreif@gmail.com> | 2010-03-16 12:32:03 +0000 |
---|---|---|
committer | Gabor Greif <ggreif@gmail.com> | 2010-03-16 12:32:03 +0000 |
commit | 421dd12853dcd21e97390f6048c4de0ebdaa89a1 (patch) | |
tree | 559a4e5bf4e0635d09b934189c56e93ff34d209c | |
parent | 57f1191b0d9716690774f2548b394b258e718698 (diff) | |
download | bcm5719-llvm-421dd12853dcd21e97390f6048c4de0ebdaa89a1.tar.gz bcm5719-llvm-421dd12853dcd21e97390f6048c4de0ebdaa89a1.zip |
appease valgrind testers
llvm-svn: 98628
-rw-r--r-- | llvm/unittests/VMCore/InstructionsTest.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/llvm/unittests/VMCore/InstructionsTest.cpp b/llvm/unittests/VMCore/InstructionsTest.cpp index 81563484f7b..2d98cad27fb 100644 --- a/llvm/unittests/VMCore/InstructionsTest.cpp +++ b/llvm/unittests/VMCore/InstructionsTest.cpp @@ -31,6 +31,10 @@ TEST(InstructionsTest, ReturnInst) { EXPECT_EQ(r1->getOperand(0), One); ++b; EXPECT_EQ(b, r1->op_end()); + + // clean up + delete r0; + delete r1; } } // end anonymous namespace |