Skip to content

Commit

Permalink
fix stream closing when calling event_free
Browse files Browse the repository at this point in the history
  • Loading branch information
ichiriac authored Mar 12, 2017
1 parent 71ed258 commit 2c45825
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libevent.c
Original file line number Diff line number Diff line change
Expand Up @@ -602,7 +602,7 @@ static PHP_FUNCTION(event_free)
}

event_del (event->event);
zend_list_close(Z_RES_P(event->rsrc_id));
zend_list_delete(Z_RES_P(event->rsrc_id));

}
/* }}} */
Expand Down

0 comments on commit 2c45825

Please sign in to comment.