mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
Remove more unnecessary checks on Zend's allocator functions
This commit is contained in:
parent
9d9defa29a
commit
932c4b35dc
10 changed files with 13 additions and 106 deletions
|
@ -88,9 +88,6 @@ zend_mb_regex_globals *php_mb_regex_globals_alloc(void)
|
|||
{
|
||||
zend_mb_regex_globals *pglobals = pemalloc(
|
||||
sizeof(zend_mb_regex_globals), 1);
|
||||
if (!pglobals) {
|
||||
return NULL;
|
||||
}
|
||||
if (SUCCESS != _php_mb_regex_globals_ctor(pglobals)) {
|
||||
pefree(pglobals, 1);
|
||||
return NULL;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue