]> granicus.if.org Git - php/commitdiff
Sigh, another leak bites the dust. FREE_OP missing in case of a SEND_VAR.
authorZeev Suraski <zeev@php.net>
Sat, 22 May 1999 18:02:30 +0000 (18:02 +0000)
committerZeev Suraski <zeev@php.net>
Sat, 22 May 1999 18:02:30 +0000 (18:02 +0000)
Zend/zend_execute.c

index 48cd8502558bca3493e54f6bf1358aca614c04a6..e67dc0dabe9e47a06f5866c51f6de9e884e153e7 100644 (file)
@@ -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: