- fixed leaking full VM frames

https://forum.zdoom.org/viewtopic.php?t=69055
This commit is contained in:
alexey.lysiuk 2020-06-20 11:34:04 +03:00
parent da04616b7d
commit 04992f2bc8
1 changed files with 1 additions and 1 deletions

View File

@ -390,7 +390,7 @@ static void PopFullVMFrame(VMFrameStack *stack)
void JitCompiler::EmitPopFrame()
{
if (sfunc->SpecialInits.Size() != 0 || sfunc->NumRegS != 0)
if (sfunc->SpecialInits.Size() != 0 || sfunc->NumRegS != 0 || sfunc->ExtraSpace != 0)
{
auto popFrame = CreateCall<void, VMFrameStack *>(PopFullVMFrame);
popFrame->setArg(0, stack);