From 421dd12853dcd21e97390f6048c4de0ebdaa89a1 Mon Sep 17 00:00:00 2001 From: Gabor Greif Date: Tue, 16 Mar 2010 12:32:03 +0000 Subject: appease valgrind testers llvm-svn: 98628 --- llvm/unittests/VMCore/InstructionsTest.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'llvm/unittests/VMCore/InstructionsTest.cpp') 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 -- cgit v1.2.3