From: Sterling Hughes Date: Mon, 3 Sep 2001 08:47:45 +0000 (+0000) Subject: should be this X-Git-Tag: PRE_SUBST_Z_MACROS~254 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=79c27f0cd27ebeea7e0cff4b1ad43671ec5a5210;p=php should be this --- diff --git a/ext/ereg/ereg.c b/ext/ereg/ereg.c index 6a02d18e0f..8002d843c2 100644 --- a/ext/ereg/ereg.c +++ b/ext/ereg/ereg.c @@ -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++) { diff --git a/ext/standard/reg.c b/ext/standard/reg.c index 6a02d18e0f..8002d843c2 100644 --- a/ext/standard/reg.c +++ b/ext/standard/reg.c @@ -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++) {