Browse Source

Sigh, another leak bites the dust. FREE_OP missing in case of a SEND_VAR.

experimental/newoperator
Zeev Suraski 28 years ago
parent
commit
ee7032f069
  1. 1
      Zend/zend_execute.c

1
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:

Loading…
Cancel
Save