summaryrefslogtreecommitdiff
path: root/ext/xsl/php_xsl.c
diff options
context:
space:
mode:
authorAntony Dovgal <tony2001@php.net>2005-11-14 21:52:27 +0000
committerAntony Dovgal <tony2001@php.net>2005-11-14 21:52:27 +0000
commite658842761f3d2443ca547379e054c95ca308378 (patch)
tree4268fa6237610944479e339b0aa104fa44ef4533 /ext/xsl/php_xsl.c
parent641bb46969b9684ce5b8333a7202daed8697bdc7 (diff)
downloadphp-git-e658842761f3d2443ca547379e054c95ca308378.tar.gz
fix #35197 (Destructor is not called) and similar issues in other extensions
Diffstat (limited to 'ext/xsl/php_xsl.c')
-rw-r--r--ext/xsl/php_xsl.c2
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;