projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a95f9ed
)
Fix a memory leak. Patch by Nicolas Geoffray.
author
Evan Cheng
<evan.cheng@apple.com>
Mon, 15 Feb 2010 23:16:53 +0000
(23:16 +0000)
committer
Evan Cheng
<evan.cheng@apple.com>
Mon, 15 Feb 2010 23:16:53 +0000
(23:16 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@96295
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/CodeGen/SelectionDAG/SelectionDAG.cpp
patch
|
blob
|
history
diff --git
a/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
b/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
index 91e420b2e3fa8082c46a0b3602ea148d8837db4b..43cf37ee4807315cb315017b124983e97c28b485 100644
(file)
--- a/
lib/CodeGen/SelectionDAG/SelectionDAG.cpp
+++ b/
lib/CodeGen/SelectionDAG/SelectionDAG.cpp
@@
-829,6
+829,7
@@
void SelectionDAG::clear() {
EntryNode.UseList = 0;
AllNodes.push_back(&EntryNode);
Root = getEntryNode();
+ delete Ordering;
Ordering = new SDNodeOrdering();
}