diff options
-rw-r--r-- | ext/ereg/ereg.c | 2 | ||||
-rw-r--r-- | ext/standard/reg.c | 2 |
2 files changed, 2 insertions, 2 deletions
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++) { |