From 224f7e65e0441c4fab12e41c300b494fa35a1060 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Sun, 2 May 2004 07:31:34 +0000 Subject: [PATCH] Plug a minor memory leak git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13317 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Analysis/IPA/CallGraph.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/Analysis/IPA/CallGraph.cpp b/lib/Analysis/IPA/CallGraph.cpp index 8d660b99fb3..74a28d818d7 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) { -- 2.34.1