diff options
Diffstat (limited to 'lib/Analysis/IPA/CallGraph.cpp')
-rw-r--r-- | lib/Analysis/IPA/CallGraph.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Analysis/IPA/CallGraph.cpp b/lib/Analysis/IPA/CallGraph.cpp index 74a28d818d..70bf2c496b 100644 --- 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) { |