[llvm-commits] [llvm] r57005 - /llvm/trunk/lib/AsmParser/llvmAsmParser.y
Nuno Lopes
nunoplopes at sapo.pt
Fri Oct 3 08:44:21 PDT 2008
Author: nlopes
Date: Fri Oct 3 10:44:21 2008
New Revision: 57005
URL: http://llvm.org/viewvc/llvm-project?rev=57005&view=rev
Log:
fix memleak in FunctionHeaderH
Modified:
llvm/trunk/lib/AsmParser/llvmAsmParser.y
Modified: llvm/trunk/lib/AsmParser/llvmAsmParser.y
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/AsmParser/llvmAsmParser.y?rev=57005&r1=57004&r2=57005&view=diff
==============================================================================
--- llvm/trunk/lib/AsmParser/llvmAsmParser.y (original)
+++ llvm/trunk/lib/AsmParser/llvmAsmParser.y Fri Oct 3 10:44:21 2008
@@ -2420,6 +2420,7 @@
InsertValue(Fn, CurModule.Values);
}
+ ID.destroy();
CurFun.FunctionStart(Fn);
if (CurFun.isDeclare) {
More information about the llvm-commits
mailing list