[llvm-commits] CVS: llvm/lib/VMCore/Dominators.cpp
Chris Lattner
lattner at cs.uiuc.edu
Tue Mar 14 11:41:57 PST 2006
Changes in directory llvm/lib/VMCore:
Dominators.cpp updated: 1.68 -> 1.69
---
Log message:
Fix an et-forest memory leak. Patch by Daniel Berlin.
---
Diffs of the changes: (+1 -0)
Dominators.cpp | 1 +
1 files changed, 1 insertion(+)
Index: llvm/lib/VMCore/Dominators.cpp
diff -u llvm/lib/VMCore/Dominators.cpp:1.68 llvm/lib/VMCore/Dominators.cpp:1.69
--- llvm/lib/VMCore/Dominators.cpp:1.68 Sat Jan 14 14:55:09 2006
+++ llvm/lib/VMCore/Dominators.cpp Tue Mar 14 13:41:45 2006
@@ -682,6 +682,7 @@
rightmost->MinOccurrence = NewFatherOcc->MinOccurrence;
}
+ delete ParentOcc;
ParentOcc = NewFatherOcc;
// Update *our* tree
More information about the llvm-commits
mailing list