]> granicus.if.org Git - php/commitdiff
should be this
authorSterling Hughes <sterling@php.net>
Mon, 3 Sep 2001 08:47:45 +0000 (08:47 +0000)
committerSterling Hughes <sterling@php.net>
Mon, 3 Sep 2001 08:47:45 +0000 (08:47 +0000)
ext/ereg/ereg.c
ext/standard/reg.c

index 6a02d18e0f7eabb8d6baa6b33dc4730987f06a13..8002d843c2f0097a66ffff6bd613e5817b39034e 100644 (file)
@@ -218,7 +218,7 @@ static void php_ereg(INTERNAL_FUNCTION_PARAMETERS, int icase)
                        RETURN_FALSE;
                }
 
-               zval_ptr_dtor(array);   /* start with clean array */
+               zval_dtor(*array);      /* start with clean array */
                array_init(*array);
 
                for (i = 0; i < NS; i++) {
index 6a02d18e0f7eabb8d6baa6b33dc4730987f06a13..8002d843c2f0097a66ffff6bd613e5817b39034e 100644 (file)
@@ -218,7 +218,7 @@ static void php_ereg(INTERNAL_FUNCTION_PARAMETERS, int icase)
                        RETURN_FALSE;
                }
 
-               zval_ptr_dtor(array);   /* start with clean array */
+               zval_dtor(*array);      /* start with clean array */
                array_init(*array);
 
                for (i = 0; i < NS; i++) {