Skip to content

Commit a87428a

Browse files
committed
Use zval_ptr_dtor() imstead of zval_dtor()
1 parent 08a5729 commit a87428a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ibase_events.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ void _php_ibase_free_event(ibase_event *event) /* {{{ */
5757
}
5858

5959
if (Z_TYPE(event->callback) != IS_UNDEF) {
60-
zval_dtor(&event->callback);
60+
zval_ptr_dtor(&event->callback);
6161
ZVAL_UNDEF(&event->callback);
6262

6363
_php_ibase_event_free(event->event_buffer,event->result_buffer);

0 commit comments

Comments
 (0)