1
0
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:
Andrei Zmievski
2001-05-14 12:58:48 +00:00
parent 56cebea057
commit eba50153ef
+1 -2
View File
@@ -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);