]> granicus.if.org Git - php/commitdiff
&tmp and label are the same thing, don't free it till we're done with it.
authorSara Golemon <pollita@php.net>
Thu, 29 Jul 2004 16:49:59 +0000 (16:49 +0000)
committerSara Golemon <pollita@php.net>
Thu, 29 Jul 2004 16:49:59 +0000 (16:49 +0000)
Zend/zend_execute.c

index 0b756ee40290506d01c08b67ac54b8f8e5cac52a..0e0c7484c3c1850dfd48a966822946d0bb33d30d 100644 (file)
@@ -4085,8 +4085,8 @@ int zend_goto_handler(ZEND_OPCODE_HANDLER_ARGS)
                return 0;
        }
 
-       zval_dtor(&tmp);
        zend_error(E_ERROR, "Unknown label %s", Z_STRVAL_P(label));
+       zval_dtor(&tmp);
        NEXT_OPCODE();
 }