mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-14 17:34:41 +00:00
Plug a minor memory leak
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13317 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
bdcc0b8c55
commit
224f7e65e0
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user