summaryrefslogtreecommitdiff
path: root/Zend/zend_API.c
diff options
context:
space:
mode:
authorZeev Suraski <zeev@php.net>2003-02-10 11:03:22 +0000
committerZeev Suraski <zeev@php.net>2003-02-10 11:03:22 +0000
commit5e12de95107fc0f0c647fd84d1880f8884f3eae9 (patch)
treedbb59e2aa16bb1c3cf692f4215e8370501ffd5cf /Zend/zend_API.c
parent8713fdd10246bb97933e060f170a7f084a2581b5 (diff)
downloadphp-git-5e12de95107fc0f0c647fd84d1880f8884f3eae9.tar.gz
Add missing destructors
Diffstat (limited to 'Zend/zend_API.c')
-rw-r--r--Zend/zend_API.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zend/zend_API.c b/Zend/zend_API.c
index 81b01a199f..43df5d6c9a 100644
--- a/Zend/zend_API.c
+++ b/Zend/zend_API.c
@@ -1366,7 +1366,7 @@ ZEND_API zend_class_entry *zend_register_internal_class(zend_class_entry *orig_c
class_entry->constants_updated = 0;
class_entry->ce_flags = 0;
zend_hash_init(&class_entry->default_properties, 0, NULL, ZVAL_PTR_DTOR, 1);
- zend_hash_init(&class_entry->properties_info, 0, NULL, NULL, 1);
+ zend_hash_init(&class_entry->properties_info, 0, NULL, (dtor_func_t) zend_destroy_property_info, 1);
class_entry->static_members = (HashTable *) malloc(sizeof(HashTable));
zend_hash_init(class_entry->static_members, 0, NULL, ZVAL_PTR_DTOR, 1);
zend_hash_init(&class_entry->constants_table, 0, NULL, ZVAL_PTR_DTOR, 1);