[llvm-commits] [llvm] r98628 - /llvm/trunk/unittests/VMCore/InstructionsTest.cpp
Gabor Greif
ggreif at gmail.com
Tue Mar 16 05:32:03 PDT 2010
Author: ggreif
Date: Tue Mar 16 07:32:03 2010
New Revision: 98628
URL: http://llvm.org/viewvc/llvm-project?rev=98628&view=rev
Log:
appease valgrind testers
Modified:
llvm/trunk/unittests/VMCore/InstructionsTest.cpp
Modified: llvm/trunk/unittests/VMCore/InstructionsTest.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/unittests/VMCore/InstructionsTest.cpp?rev=98628&r1=98627&r2=98628&view=diff
==============================================================================
--- llvm/trunk/unittests/VMCore/InstructionsTest.cpp (original)
+++ llvm/trunk/unittests/VMCore/InstructionsTest.cpp Tue Mar 16 07:32:03 2010
@@ -31,6 +31,10 @@
EXPECT_EQ(r1->getOperand(0), One);
++b;
EXPECT_EQ(b, r1->op_end());
+
+ // clean up
+ delete r0;
+ delete r1;
}
} // end anonymous namespace
More information about the llvm-commits
mailing list