From ba0e3f2145cf618c1d0952d5d7a019f77506aa71 Mon Sep 17 00:00:00 2001 From: Andrei Zmievski Date: Thu, 17 Aug 2000 16:09:00 +0000 Subject: [PATCH] No need to have persistent allocation. --- ext/pcre/php_pcre.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ext/pcre/php_pcre.c b/ext/pcre/php_pcre.c index 4641067904e..aedd8b09e71 100644 --- a/ext/pcre/php_pcre.c +++ b/ext/pcre/php_pcre.c @@ -52,13 +52,13 @@ php_pcre_globals pcre_globals; static void *php_pcre_malloc(size_t size) { - return pemalloc(size, 1); + return emalloc(size); } static void php_pcre_free(void *ptr) { - pefree(ptr, 1); + efree(ptr); }