mirror of
https://github.com/php/php-src.git
synced 2026-04-24 00:18:23 +02:00
No need for check since callback_name is always filled in.
This commit is contained in:
+1
-2
@@ -989,8 +989,7 @@ static void preg_replace_impl(INTERNAL_FUNCTION_PARAMETERS, zend_bool is_callabl
|
||||
zval_copy_ctor(return_value);
|
||||
return;
|
||||
}
|
||||
if (callback_name)
|
||||
efree(callback_name);
|
||||
efree(callback_name);
|
||||
|
||||
SEPARATE_ZVAL(regex);
|
||||
SEPARATE_ZVAL(subject);
|
||||
|
||||
Reference in New Issue
Block a user