diff --git a/ext/pcre/php_pcre.c b/ext/pcre/php_pcre.c index eb59f28d442..6d393a26a7c 100644 --- a/ext/pcre/php_pcre.c +++ b/ext/pcre/php_pcre.c @@ -555,7 +555,7 @@ PHPAPI void php_pcre_match_impl(pcre_cache_entry *pce, char *subject, int subjec /* Overwrite the passed-in value for subpatterns with an empty array. */ if (subpats != NULL) { - zval_dtor(subpats); + zval_dtor(subpats); array_init(subpats); }