]> granicus.if.org Git - php/commitdiff
Refcount must not be set separatley again.
authorMarcus Boerger <helly@php.net>
Mon, 31 May 2004 21:49:52 +0000 (21:49 +0000)
committerMarcus Boerger <helly@php.net>
Mon, 31 May 2004 21:49:52 +0000 (21:49 +0000)
Zend/zend_reflection_api.c
ext/reflection/php_reflection.c

index b6727460f74cccb17659c114c33e9967939f6b66..9350fb31e8c056f1254f837c20eaa4b2a72d61d5 100644 (file)
@@ -942,7 +942,6 @@ static void _reflection_export(INTERNAL_FUNCTION_PARAMETERS, zend_class_entry *c
        }
 
        INIT_PZVAL(&output);
-       output.refcount = 1;
 
        /* Create object */
        INIT_PZVAL(&reflector);
index b6727460f74cccb17659c114c33e9967939f6b66..9350fb31e8c056f1254f837c20eaa4b2a72d61d5 100644 (file)
@@ -942,7 +942,6 @@ static void _reflection_export(INTERNAL_FUNCTION_PARAMETERS, zend_class_entry *c
        }
 
        INIT_PZVAL(&output);
-       output.refcount = 1;
 
        /* Create object */
        INIT_PZVAL(&reflector);