From 7f4909d9f54af37d0f26e3fe794ac3e23b65fe33 Mon Sep 17 00:00:00 2001 From: "Thies C. Arntzen" Date: Wed, 12 Jul 2000 16:37:46 +0000 Subject: [PATCH] fix ZTS startup without filename (thanx purify!) --- Zend/zend.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Zend/zend.c b/Zend/zend.c index 81c39ed85e..7c73765dfd 100644 --- a/Zend/zend.c +++ b/Zend/zend.c @@ -260,6 +260,8 @@ static void compiler_globals_ctor(zend_compiler_globals *compiler_globals) zend_function tmp_func; zend_class_entry tmp_class; + compiler_globals->compiled_filename = NULL; + compiler_globals->function_table = (HashTable *) malloc(sizeof(HashTable)); zend_hash_init_ex(compiler_globals->function_table, 100, NULL, ZEND_FUNCTION_DTOR, 1, 0); zend_hash_copy(compiler_globals->function_table, global_function_table, NULL, &tmp_func, sizeof(zend_function)); -- 2.50.1