Do not leak argument's DbgVariables.

llvm-svn: 130004
This commit is contained in:
Devang Patel 2011-04-22 18:09:57 +00:00
parent 11e5c8b31a
commit ad45d911bb
1 changed files with 1 additions and 1 deletions

View File

@ -2061,7 +2061,7 @@ void DwarfDebug::endFunction(const MachineFunction *MF) {
// Clear debug info
CurrentFnDbgScope = NULL;
CurrentFnArguments.clear();
DeleteContainerPointers(CurrentFnArguments);
DbgVariableToFrameIndexMap.clear();
VarToAbstractVarMap.clear();
DbgVariableToDbgInstMap.clear();