diff options
Diffstat (limited to 'src/sp_execute.c')
| -rw-r--r-- | src/sp_execute.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sp_execute.c b/src/sp_execute.c index aadd145..f1ed8d0 100644 --- a/src/sp_execute.c +++ b/src/sp_execute.c | |||
| @@ -190,7 +190,7 @@ static inline void sp_execute_handler(INTERNAL_FUNCTION_PARAMETERS, bool interna | |||
| 190 | // execute_data, so we need to use a local variable to be able to match on | 190 | // execute_data, so we need to use a local variable to be able to match on |
| 191 | // it later. | 191 | // it later. |
| 192 | zval ret_val; | 192 | zval ret_val; |
| 193 | if (EX(return_value) == NULL) { | 193 | if (EX(return_value) == NULL && return_value == NULL) { |
| 194 | memset(&ret_val, 0, sizeof(ret_val)); | 194 | memset(&ret_val, 0, sizeof(ret_val)); |
| 195 | return_value = EX(return_value) = &ret_val; | 195 | return_value = EX(return_value) = &ret_val; |
| 196 | } | 196 | } |
