summaryrefslogtreecommitdiff
path: root/ext/pcre/php_pcre.c
diff options
context:
space:
mode:
authorXinchen Hui <laruence@php.net>2012-10-18 20:13:36 +0800
committerXinchen Hui <laruence@php.net>2012-10-18 20:13:36 +0800
commitf1478bbf9d7cd312607e829a32ed5582e386adac (patch)
treedfdac81790d66697ab4429cd795a278139c909a0 /ext/pcre/php_pcre.c
parent1f8fd609b0a61cc4e7815f93a0932b11b697e3a4 (diff)
parentdb2dc7a6a48982b8a483861a7fa1de0d634bc3a4 (diff)
downloadphp-git-f1478bbf9d7cd312607e829a32ed5582e386adac.tar.gz
Merge branch 'PHP-5.3' into PHP-5.4
Diffstat (limited to 'ext/pcre/php_pcre.c')
-rw-r--r--ext/pcre/php_pcre.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/pcre/php_pcre.c b/ext/pcre/php_pcre.c
index be83cb6886..f61364cde9 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);
}