File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -1391,6 +1391,11 @@ static void php_hashcontext_dtor(zend_object *obj) {
1391
1391
}
1392
1392
/* }}} */
1393
1393
1394
+ static void php_hashcontext_free (zend_object * obj ) {
1395
+ php_hashcontext_dtor (obj );
1396
+ zend_object_std_dtor (obj );
1397
+ }
1398
+
1394
1399
/* {{{ php_hashcontext_clone */
1395
1400
static zend_object * php_hashcontext_clone (zend_object * zobj ) {
1396
1401
php_hashcontext_object * oldobj = php_hashcontext_from_object (zobj );
@@ -1631,7 +1636,7 @@ PHP_MINIT_FUNCTION(hash)
1631
1636
memcpy (& php_hashcontext_handlers , & std_object_handlers ,
1632
1637
sizeof (zend_object_handlers ));
1633
1638
php_hashcontext_handlers .offset = XtOffsetOf (php_hashcontext_object , std );
1634
- php_hashcontext_handlers .dtor_obj = php_hashcontext_dtor ;
1639
+ php_hashcontext_handlers .free_obj = php_hashcontext_free ;
1635
1640
php_hashcontext_handlers .clone_obj = php_hashcontext_clone ;
1636
1641
1637
1642
#ifdef PHP_MHASH_BC
You can’t perform that action at this time.
0 commit comments