diff options
author | Anatol Belski <ab@php.net> | 2015-03-20 09:36:38 +0100 |
---|---|---|
committer | Anatol Belski <ab@php.net> | 2015-03-20 17:11:36 +0100 |
commit | a43a9c91374b3cd9864eea5e7c0b0e2e9dafa2e2 (patch) | |
tree | 53b9b2fff403f36636aee38ac306b4f3fed789f0 /ext/pcre/php_pcre.c | |
parent | b88f1d5b9bbdccfbd20dae3483d11055a963ed71 (diff) | |
download | php-git-a43a9c91374b3cd9864eea5e7c0b0e2e9dafa2e2.tar.gz |
use correct api
Diffstat (limited to 'ext/pcre/php_pcre.c')
-rw-r--r-- | ext/pcre/php_pcre.c | 2 |
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); } |