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:
224f7e6
)
Fix a problem with double freeing memory. For some reason, CallGraph is not
author
Chris Lattner
<sabre@nondot.org>
Sun, 2 May 2004 16:06:18 +0000
(16:06 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Sun, 2 May 2004 16:06:18 +0000
(16:06 +0000)
acting like a normal pass. :(
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13318
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Analysis/IPA/CallGraph.cpp
patch
|
blob
|
history
diff --git
a/lib/Analysis/IPA/CallGraph.cpp
b/lib/Analysis/IPA/CallGraph.cpp
index 74a28d818d7e56f253f67610def51d9c789fc2ce..70bf2c496b01ae8202cd17b4a6069e776378c610 100644
(file)
--- a/
lib/Analysis/IPA/CallGraph.cpp
+++ b/
lib/Analysis/IPA/CallGraph.cpp
@@
-126,6
+126,7
@@
void CallGraph::destroy() {
delete I->second;
FunctionMap.clear();
delete CallsExternalNode;
+ CallsExternalNode = 0;
}
static void WriteToOutput(const CallGraphNode *CGN, std::ostream &o) {