From: Anatol Belski Date: Fri, 20 Mar 2015 08:36:38 +0000 (+0100) Subject: use correct api X-Git-Tag: PRE_PHP7_NSAPI_REMOVAL~574 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a43a9c91374b3cd9864eea5e7c0b0e2e9dafa2e2;p=php use correct api --- 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); }