From: Andi Gutmans Date: Tue, 11 Dec 2001 18:51:02 +0000 (+0000) Subject: - Merge from ZE1 X-Git-Tag: ChangeLog~22 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4214a056a13f155199922b741c2dce5304bcafba;p=php - Merge from ZE1 --- diff --git a/Zend/zend.c b/Zend/zend.c index d075cce732..1bd8879395 100644 --- a/Zend/zend.c +++ b/Zend/zend.c @@ -292,10 +292,6 @@ static void compiler_globals_ctor(zend_compiler_globals *compiler_globals TSRMLS CG(interactive) = 0; - compiler_globals->class_table = (HashTable *) malloc(sizeof(HashTable)); - zend_hash_init_ex(compiler_globals->class_table, 10, NULL, ZEND_CLASS_DTOR, 1, 0); - zend_hash_copy(compiler_globals->class_table, global_class_table, (copy_ctor_func_t) zend_class_add_ref, &tmp_class, sizeof(zend_class_entry)); - compiler_globals->auto_globals = (HashTable *) malloc(sizeof(HashTable)); zend_hash_init_ex(compiler_globals->auto_globals, 8, NULL, NULL, 1, 0); zend_hash_copy(compiler_globals->auto_globals, global_auto_globals_table, NULL, NULL, sizeof(void *) /* empty element */);