mirror of
https://github.com/php/php-src.git
synced 2026-04-11 18:13:00 +02:00
No need to have persistent allocation.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user