aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/CodeGen/PrologEpilogInserter.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/CodeGen/PrologEpilogInserter.cpp b/lib/CodeGen/PrologEpilogInserter.cpp
index c438ece9c7..549c7643d1 100644
--- a/lib/CodeGen/PrologEpilogInserter.cpp
+++ b/lib/CodeGen/PrologEpilogInserter.cpp
@@ -458,5 +458,7 @@ void PEI::replaceFrameIndices(MachineFunction &Fn) {
if (RS) RS->forward(I);
}
}
+
+ delete RS;
}