File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -193,6 +193,8 @@ static void imap_object_destroy(zend_object *zobj) {
193
193
efree (IMAPG (imap_password ));
194
194
IMAPG (imap_password ) = 0 ;
195
195
}
196
+
197
+ zend_object_std_dtor (zobj );
196
198
}
197
199
198
200
#define GET_IMAP_STREAM (imap_conn_struct , zval_imap_obj ) \
@@ -485,7 +487,7 @@ PHP_MINIT_FUNCTION(imap)
485
487
memcpy (& imap_object_handlers , & std_object_handlers , sizeof (zend_object_handlers ));
486
488
imap_object_handlers .offset = XtOffsetOf (php_imap_object , std );
487
489
imap_object_handlers .get_constructor = imap_object_get_constructor ;
488
- imap_object_handlers .dtor_obj = imap_object_destroy ;
490
+ imap_object_handlers .free_obj = imap_object_destroy ;
489
491
imap_object_handlers .clone_obj = NULL ;
490
492
491
493
/* lets allow NIL */
You can’t perform that action at this time.
0 commit comments