File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -1001,13 +1001,13 @@ ZEND_API zend_result ZEND_FASTCALL zend_ast_evaluate_inner(
10011001 zend_string * function_name = zend_ast_get_str (ast -> child [0 ]);
10021002 zend_string * function_name_lc = zend_string_tolower (function_name );
10031003 fptr = zend_fetch_function (function_name_lc );
1004- zend_string_release (function_name_lc );
10051004 if (!fptr && ast -> child [0 ]-> attr != ZEND_NAME_FQ ) {
10061005 const char * backslash = zend_memrchr (ZSTR_VAL (function_name_lc ), '\\' , ZSTR_LEN (function_name_lc ));
10071006 if (backslash ) {
10081007 fptr = zend_fetch_function_str (backslash + 1 , ZSTR_LEN (function_name_lc ) - (backslash - ZSTR_VAL (function_name_lc ) + 1 ));
10091008 }
10101009 }
1010+ zend_string_release (function_name_lc );
10111011 if (!fptr ) {
10121012 zend_throw_error (NULL , "Call to undefined function %s()" , ZSTR_VAL (function_name ));
10131013 return FAILURE ;
You can’t perform that action at this time.
0 commit comments