From b7e3ad9f46e3006edb23787858e3048d5e9b5144 Mon Sep 17 00:00:00 2001 From: belliash Date: Sat, 9 Mar 2019 13:28:04 +0100 Subject: [PATCH] PH7_VmMemoryError() always breaks script execution. --- engine/vm.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/engine/vm.c b/engine/vm.c index 38f0124..d89eb84 100644 --- a/engine/vm.c +++ b/engine/vm.c @@ -2452,7 +2452,6 @@ static sxi32 VmByteCodeExec( pMap = PH7_NewHashmap(&(*pVm), 0, 0); if(pMap == 0) { PH7_VmMemoryError(&(*pVm)); - goto Abort; } pObj->x.pOther = pMap; } @@ -2485,7 +2484,6 @@ static sxi32 VmByteCodeExec( pMap = PH7_NewHashmap(&(*pVm), 0, 0); if(pMap == 0) { PH7_VmMemoryError(&(*pVm)); - goto Abort; } if(pInstr->iP1 > 0) { ph7_value *pEntry = &pTos[-pInstr->iP1 + 1]; /* Point to the first entry */