summaryrefslogtreecommitdiff
path: root/ext/tidy
diff options
context:
space:
mode:
authorAntony Dovgal <tony2001@php.net>2005-11-14 22:03:02 +0000
committerAntony Dovgal <tony2001@php.net>2005-11-14 22:03:02 +0000
commit241aa9a59de7f582ef96c01c8be513ff7f534961 (patch)
treec538fc52c20bce9798e29fa23e3cab2104f005bc /ext/tidy
parentcd9e244a68e761e83434a91badd38dbb14f565c8 (diff)
downloadphp-git-241aa9a59de7f582ef96c01c8be513ff7f534961.tar.gz
MFH: fix #35197 (Destructor is not called) and similar issues in other extensions
Diffstat (limited to 'ext/tidy')
-rw-r--r--ext/tidy/tidy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/tidy/tidy.c b/ext/tidy/tidy.c
index 326996b32f..89a7132e86 100644
--- a/ext/tidy/tidy.c
+++ b/ext/tidy/tidy.c
@@ -598,7 +598,7 @@ static void tidy_object_new(zend_class_entry *class_type, zend_object_handlers *
break;
}
- retval->handle = zend_objects_store_put(intern, NULL, (zend_objects_free_object_storage_t) tidy_object_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) tidy_object_free_storage, NULL TSRMLS_CC);
retval->handlers = handlers;
}