projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b6cc085
)
fix memleak in FunctionHeaderH
author
Nuno Lopes
<nunoplopes@sapo.pt>
Fri, 3 Oct 2008 15:44:21 +0000
(15:44 +0000)
committer
Nuno Lopes
<nunoplopes@sapo.pt>
Fri, 3 Oct 2008 15:44:21 +0000
(15:44 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57005
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/AsmParser/llvmAsmParser.y
patch
|
blob
|
history
diff --git
a/lib/AsmParser/llvmAsmParser.y
b/lib/AsmParser/llvmAsmParser.y
index f5d5c79a15ba041c4486a919a8b9f9d859f6e8f8..1a8458409b43116af902e8c04694bae4880f9a61 100644
(file)
--- a/
lib/AsmParser/llvmAsmParser.y
+++ b/
lib/AsmParser/llvmAsmParser.y
@@
-2420,6
+2420,7
@@
FunctionHeaderH : OptCallingConv OptRetAttrs ResultTypes GlobalName '(' ArgList
InsertValue(Fn, CurModule.Values);
}
+ ID.destroy();
CurFun.FunctionStart(Fn);
if (CurFun.isDeclare) {