summaryrefslogtreecommitdiff
path: root/ext/pcre/php_pcre.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/pcre/php_pcre.c')
-rw-r--r--ext/pcre/php_pcre.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/pcre/php_pcre.c b/ext/pcre/php_pcre.c
index 4641067904..aedd8b09e7 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);
}