summaryrefslogtreecommitdiff
path: root/ext/pcre/php_pcre.c
diff options
context:
space:
mode:
authorAnatol Belski <ab@php.net>2015-03-20 09:36:38 +0100
committerAnatol Belski <ab@php.net>2015-03-20 17:11:36 +0100
commita43a9c91374b3cd9864eea5e7c0b0e2e9dafa2e2 (patch)
tree53b9b2fff403f36636aee38ac306b4f3fed789f0 /ext/pcre/php_pcre.c
parentb88f1d5b9bbdccfbd20dae3483d11055a963ed71 (diff)
downloadphp-git-a43a9c91374b3cd9864eea5e7c0b0e2e9dafa2e2.tar.gz
use correct api
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 8080823b09..6836db7831 100644
--- a/ext/pcre/php_pcre.c
+++ b/ext/pcre/php_pcre.c
@@ -91,7 +91,7 @@ static void php_free_pcre_cache(zval *data) /* {{{ */
{
pcre_cache_entry *pce = (pcre_cache_entry *) Z_PTR_P(data);
if (!pce) return;
- pefree(pce->re, 1);
+ pcre_free(pce->re);
if (pce->extra) {
pcre_free_study(pce->extra);
}