mirror of
https://github.com/php/php-src.git
synced 2024-11-29 04:46:07 +08:00
- Call dtor
This commit is contained in:
parent
20f709f339
commit
18985accc4
@ -1089,7 +1089,7 @@ zend_object_value pdo_dbh_new(zend_class_entry *ce TSRMLS_DC)
|
||||
ALLOC_HASHTABLE(dbh->properties);
|
||||
zend_hash_init(dbh->properties, 0, NULL, ZVAL_PTR_DTOR, 0);
|
||||
|
||||
retval.handle = zend_objects_store_put(dbh, NULL, pdo_dbh_free_storage, NULL TSRMLS_CC);
|
||||
retval.handle = zend_objects_store_put(dbh, zend_objects_destroy_object, pdo_dbh_free_storage, NULL TSRMLS_CC);
|
||||
if(ce == pdo_dbh_ce) {
|
||||
retval.handlers = &pdo_dbh_object_handlers;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user