diff --git a/unittests/IR/InstructionsTest.cpp b/unittests/IR/InstructionsTest.cpp index 5595e8ce93c..ea2265655cb 100644 --- a/unittests/IR/InstructionsTest.cpp +++ b/unittests/IR/InstructionsTest.cpp @@ -1128,6 +1128,7 @@ TEST(InstructionsTest, UnaryOperator) { EXPECT_FALSE(isa(F)); F->deleteValue(); + I->deleteValue(); } } // end anonymous namespace