]> granicus.if.org Git - php/commitdiff
- Thies's crash fix.
authorAndi Gutmans <andi@php.net>
Mon, 9 Aug 1999 16:39:13 +0000 (16:39 +0000)
committerAndi Gutmans <andi@php.net>
Mon, 9 Aug 1999 16:39:13 +0000 (16:39 +0000)
Zend/zend_execute.c

index 0ddafac5bbb2f5bf5569e54bed195c0ba73a9b4c..0536dbdd89dd2ea89aeb71cb38891a49a62f3fe5 100644 (file)
@@ -1691,8 +1691,8 @@ send_by_ref:
                                        case IS_VAR:
                                                if (!Ts[opline->op1.u.var].var) {
                                                        get_zval_ptr(&opline->op1, Ts, &free_op1, BP_VAR_R);
+                                                       FREE_OP(&opline->op1, free_op1);
                                                }
-                                               FREE_OP(&opline->op1, free_op1);
                                                break;
                                        case IS_TMP_VAR:
                                                zendi_zval_dtor(Ts[opline->op1.u.var].tmp_var);