From 642c066906488715220dd87c5b976c67bb8a303d Mon Sep 17 00:00:00 2001 From: Gabor Greif Date: Tue, 16 Mar 2010 12:32:03 +0000 Subject: [PATCH] appease valgrind testers git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@98628 91177308-0d34-0410-b5e6-96231b3b80d8 --- unittests/VMCore/InstructionsTest.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/unittests/VMCore/InstructionsTest.cpp b/unittests/VMCore/InstructionsTest.cpp index 81563484f7b..2d98cad27fb 100644 --- a/unittests/VMCore/InstructionsTest.cpp +++ b/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