forked from OSchip/llvm-project
Fix a problem with double freeing memory. For some reason, CallGraph is not
acting like a normal pass. :( llvm-svn: 13318
This commit is contained in:
parent
929291aabb
commit
6942946132
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue