diff options
author | Andi Gutmans <andi@php.net> | 2001-10-29 18:10:36 +0000 |
---|---|---|
committer | Andi Gutmans <andi@php.net> | 2001-10-29 18:10:36 +0000 |
commit | 0a682c6d7019c6f8fe97b1eb46527c0608686d16 (patch) | |
tree | d54dda7b7b02df64ff15e7ee4e0ec3922c91d072 | |
parent | 26578c386d7a6bfaf7d5a884e3dab02797dba7db (diff) | |
download | php-git-0a682c6d7019c6f8fe97b1eb46527c0608686d16.tar.gz |
- Fix internal classes
-rw-r--r-- | Zend/zend_API.c | 2 | ||||
-rw-r--r-- | Zend/zend_opcode.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/Zend/zend_API.c b/Zend/zend_API.c index 1893b1b07d..9eecbdb597 100644 --- a/Zend/zend_API.c +++ b/Zend/zend_API.c @@ -1216,7 +1216,7 @@ ZEND_API zend_class_entry *zend_register_internal_class(zend_class_entry *class_ class_entry->constants_updated = 0; zend_hash_init(&class_entry->default_properties, 0, NULL, ZVAL_PTR_DTOR, 1); zend_hash_init(&class_entry->function_table, 0, NULL, ZEND_FUNCTION_DTOR, 1); - + zend_hash_init(&class_entry->class_table, 10, NULL, ZEND_CLASS_DTOR, 1); if (class_entry->builtin_functions) { zend_register_functions(class_entry->builtin_functions, &class_entry->function_table, MODULE_PERSISTENT TSRMLS_CC); diff --git a/Zend/zend_opcode.c b/Zend/zend_opcode.c index 08da904c35..273a4b3762 100644 --- a/Zend/zend_opcode.c +++ b/Zend/zend_opcode.c @@ -124,7 +124,7 @@ ZEND_API void destroy_zend_class(zend_class_entry *ce) free(ce->refcount); zend_hash_destroy(&ce->function_table); zend_hash_destroy(&ce->default_properties); - /* zend_hash_destroy(&ce->class_table); FIXME: Make sure this is initialized */ + zend_hash_destroy(&ce->class_table); break; } } |