mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-08 19:48:20 +02:00
LocalVar leak fix
This commit is contained in:
parent
53ba6f6c1f
commit
bbd058eeaf
1 changed files with 1 additions and 0 deletions
|
@ -20622,6 +20622,7 @@ void BfModule::ProcessMethod(BfMethodInstance* methodInstance, bool isInlineDup,
|
|||
{
|
||||
BfLocalVariable* localVar = new BfLocalVariable();
|
||||
*localVar = constLocal;
|
||||
localVar->mIsBumpAlloc = false;
|
||||
AddLocalVariableDef(localVar, true);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue