Skip to content

Commit

Permalink
Fix stack not being cleaned after Function calll
Browse files Browse the repository at this point in the history
  • Loading branch information
pawelchcki committed Nov 2, 2018
1 parent 9a27274 commit cd320f4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/ext/dispatch.c
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,9 @@ static void execute_fcall(ddtrace_dispatch_t *dispatch, zend_execute_data *execu
if (!return_value_ptr) {
zval_dtor(&rv);
}
#if PHP_VERSION_ID < 70000
zend_vm_stack_clear_multiple(0 TSRMLS_CC);
#endif
}

#if PHP_VERSION_ID < 70000
Expand Down

0 comments on commit cd320f4

Please sign in to comment.