From 4214a056a13f155199922b741c2dce5304bcafba Mon Sep 17 00:00:00 2001 From: Andi Gutmans Date: Tue, 11 Dec 2001 18:51:02 +0000 Subject: [PATCH] - Merge from ZE1 --- Zend/zend.c | 4 ---- 1 file changed, 4 deletions(-) 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 */); -- 2.50.1