diff options
author | Antony Dovgal <tony2001@php.net> | 2005-11-14 22:03:02 +0000 |
---|---|---|
committer | Antony Dovgal <tony2001@php.net> | 2005-11-14 22:03:02 +0000 |
commit | 241aa9a59de7f582ef96c01c8be513ff7f534961 (patch) | |
tree | c538fc52c20bce9798e29fa23e3cab2104f005bc /ext/xsl | |
parent | cd9e244a68e761e83434a91badd38dbb14f565c8 (diff) | |
download | php-git-241aa9a59de7f582ef96c01c8be513ff7f534961.tar.gz |
MFH: fix #35197 (Destructor is not called) and similar issues in other extensions
Diffstat (limited to 'ext/xsl')
-rw-r--r-- | ext/xsl/php_xsl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/xsl/php_xsl.c b/ext/xsl/php_xsl.c index 8ea0f83053..ed29cbb382 100644 --- a/ext/xsl/php_xsl.c +++ b/ext/xsl/php_xsl.c @@ -138,7 +138,7 @@ zend_object_value xsl_objects_new(zend_class_entry *class_type TSRMLS_DC) zend_hash_init(intern->parameter, 0, NULL, ZVAL_PTR_DTOR, 0); ALLOC_HASHTABLE(intern->registered_phpfunctions); zend_hash_init(intern->registered_phpfunctions, 0, NULL, ZVAL_PTR_DTOR, 0); - retval.handle = zend_objects_store_put(intern, NULL, (zend_objects_free_object_storage_t) xsl_objects_free_storage, NULL TSRMLS_CC); + retval.handle = zend_objects_store_put(intern, (zend_objects_store_dtor_t)zend_objects_destroy_object, (zend_objects_free_object_storage_t) xsl_objects_free_storage, NULL TSRMLS_CC); intern->handle = retval.handle; retval.handlers = &xsl_object_handlers; return retval; |