From 9baad804595a97e47baf3f75836fcc9596f2351e Mon Sep 17 00:00:00 2001 From: Zeev Suraski Date: Sat, 4 Dec 1999 13:26:57 +0000 Subject: - Break the zend->PHP dependency introduced by the .php extension for use(), by providing an API - Enable Stig's patch for use() extensions (it wasn't refered to by the parser) - Fix a memory leak in that code --- Zend/zend_compile.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Zend/zend_compile.c') diff --git a/Zend/zend_compile.c b/Zend/zend_compile.c index d7d2aec69c..247ad5567a 100644 --- a/Zend/zend_compile.c +++ b/Zend/zend_compile.c @@ -95,7 +95,7 @@ void init_compiler(CLS_D ELS_DC) init_resource_list(ELS_C); CG(unclean_shutdown) = 0; zend_llist_init(&CG(open_files), sizeof(zend_file_handle), (void (*)(void *)) zend_open_file_dtor, 0); - zend_hash_init(&CG(used_files), 5, NULL, NULL, 0); + zend_hash_init(&CG(used_files), 5, NULL, NULL , 0); } -- cgit v1.2.1