diff options
| -rw-r--r-- | src/sp_execute.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/sp_execute.c b/src/sp_execute.c index f105b7f..690b1a9 100644 --- a/src/sp_execute.c +++ b/src/sp_execute.c | |||
| @@ -213,6 +213,7 @@ static inline void sp_execute_handler(INTERNAL_FUNCTION_PARAMETERS, bool interna | |||
| 213 | bool is_hooked = (zend_hash_str_find(SPG(disabled_functions_hook), VAR_AND_LEN(function_name)) || zend_hash_str_find(SPG(disabled_functions_hook), VAR_AND_LEN(function_name))); | 213 | bool is_hooked = (zend_hash_str_find(SPG(disabled_functions_hook), VAR_AND_LEN(function_name)) || zend_hash_str_find(SPG(disabled_functions_hook), VAR_AND_LEN(function_name))); |
| 214 | if (is_hooked) { | 214 | if (is_hooked) { |
| 215 | sp_call_orig_execute(INTERNAL_FUNCTION_PARAM_PASSTHRU, internal); | 215 | sp_call_orig_execute(INTERNAL_FUNCTION_PARAM_PASSTHRU, internal); |
| 216 | efree(function_name); | ||
| 216 | return; | 217 | return; |
| 217 | } | 218 | } |
| 218 | 219 | ||
