From: Andi Gutmans Date: Fri, 25 May 2001 07:26:48 +0000 (+0000) Subject: - Fix memory leak X-Git-Tag: PRE_GRANULAR_GARBAGE_FIX~242 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=90c36273b46189b4c3ec9883b4ecf281cd07acf9;p=php - Fix memory leak --- diff --git a/Zend/zend_compile.c b/Zend/zend_compile.c index 67947a02fb..1d70608083 100644 --- a/Zend/zend_compile.c +++ b/Zend/zend_compile.c @@ -670,7 +670,7 @@ void zend_do_free(znode *op1 CLS_DC) } else if (op1->op_type==IS_VAR) { zend_op *opline = &CG(active_op_array)->opcodes[CG(active_op_array)->last-1]; - if (opline->opcode == ZEND_END_SILENCE) { + if (opline->opcode == ZEND_END_SILENCE || opline->opcode == ZEND_EXT_FCALL_END) { opline--; } if (opline->result.op_type == op1->op_type