From: Zeev Suraski Date: Sat, 22 May 1999 18:02:30 +0000 (+0000) Subject: Sigh, another leak bites the dust. FREE_OP missing in case of a SEND_VAR. X-Git-Tag: BEFORE_REMOVING_GC_STEP1~287 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ee7032f0696a17f143db75e1f594b9ede68353c7;p=php Sigh, another leak bites the dust. FREE_OP missing in case of a SEND_VAR. --- diff --git a/Zend/zend_execute.c b/Zend/zend_execute.c index 48cd850255..e67dc0dabe 100644 --- a/Zend/zend_execute.c +++ b/Zend/zend_execute.c @@ -1432,6 +1432,7 @@ overloaded_function_call_cont: varptr->refcount++; //zend_hash_next_index_insert_ptr(function_state.function_symbol_table, varptr, sizeof(zval *), NULL); zend_ptr_stack_push(&EG(argument_stack), varptr); + FREE_OP(&opline->op1, free_op1); /* for string offsets */ } break; send_by_ref: