mirror of
https://github.com/RPCS3/llvm.git
synced 2025-01-19 08:24:12 +00:00
fix memleak in FunctionHeaderH
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57005 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
b6cc085134
commit
06a62886fb
@ -2420,6 +2420,7 @@ FunctionHeaderH : OptCallingConv OptRetAttrs ResultTypes GlobalName '(' ArgList
|
||||
InsertValue(Fn, CurModule.Values);
|
||||
}
|
||||
|
||||
ID.destroy();
|
||||
CurFun.FunctionStart(Fn);
|
||||
|
||||
if (CurFun.isDeclare) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user