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 aedd8b09e7..4641067904 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 emalloc(size);
+ return pemalloc(size, 1);
}
static void php_pcre_free(void *ptr)
{
- efree(ptr);
+ pefree(ptr, 1);
}