From: Marcus Boerger Date: Tue, 22 Feb 2005 11:37:53 +0000 (+0000) Subject: - Call dtor X-Git-Tag: RELEASE_0_3~262 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=18985accc4447ed76079935147b2d42a172b2332;p=php - Call dtor --- diff --git a/ext/pdo/pdo_dbh.c b/ext/pdo/pdo_dbh.c index 3a4fbe3e00..32a6e5865c 100755 --- a/ext/pdo/pdo_dbh.c +++ b/ext/pdo/pdo_dbh.c @@ -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; }