Skip to content

Commit

Permalink
Fixed memory-leak
Browse files Browse the repository at this point in the history
  • Loading branch information
dstogov committed Apr 16, 2015
1 parent 6202e28 commit 10d4fdb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Zend/zend_execute.c
Original file line number Diff line number Diff line change
Expand Up @@ -2063,7 +2063,7 @@ ZEND_API zend_execute_data *zend_create_generator_execute_data(zend_execute_data
EG(vm_stack_end) = EG(vm_stack)->end;

execute_data = zend_vm_stack_push_call_frame(
ZEND_CALL_TOP_FUNCTION,
ZEND_CALL_TOP_FUNCTION | (ZEND_CALL_INFO(call) & ZEND_CALL_CLOSURE),
(zend_function*)op_array,
num_args,
call->called_scope,
Expand Down

0 comments on commit 10d4fdb

Please sign in to comment.