aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Analysis
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2004-05-02 07:31:34 +0000
committerChris Lattner <sabre@nondot.org>2004-05-02 07:31:34 +0000
commit224f7e65e0441c4fab12e41c300b494fa35a1060 (patch)
tree3505b14b2f213bee3441c140886004517a5bb1c2 /lib/Analysis
parentbdcc0b8c55041ff89b59f0ea2cdbc2ac02f26a3d (diff)
downloadexternal_llvm-224f7e65e0441c4fab12e41c300b494fa35a1060.zip
external_llvm-224f7e65e0441c4fab12e41c300b494fa35a1060.tar.gz
external_llvm-224f7e65e0441c4fab12e41c300b494fa35a1060.tar.bz2
Plug a minor memory leak
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13317 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis')
-rw-r--r--lib/Analysis/IPA/CallGraph.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Analysis/IPA/CallGraph.cpp b/lib/Analysis/IPA/CallGraph.cpp
index 8d660b9..74a28d8 100644
--- a/lib/Analysis/IPA/CallGraph.cpp
+++ b/lib/Analysis/IPA/CallGraph.cpp
@@ -125,6 +125,7 @@ void CallGraph::destroy() {
I != E; ++I)
delete I->second;
FunctionMap.clear();
+ delete CallsExternalNode;
}
static void WriteToOutput(const CallGraphNode *CGN, std::ostream &o) {