summaryrefslogtreecommitdiff
path: root/Zend/zend_compile.c
diff options
context:
space:
mode:
authorZeev Suraski <zeev@php.net>1999-12-04 13:26:57 +0000
committerZeev Suraski <zeev@php.net>1999-12-04 13:26:57 +0000
commit9baad804595a97e47baf3f75836fcc9596f2351e (patch)
treee19df22a56f05958ab5ab540c964a9f60ef95931 /Zend/zend_compile.c
parentda5464b145be141a4b9a7130d554f73e022acc85 (diff)
downloadphp-git-9baad804595a97e47baf3f75836fcc9596f2351e.tar.gz
- 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
Diffstat (limited to 'Zend/zend_compile.c')
-rw-r--r--Zend/zend_compile.c2
1 files changed, 1 insertions, 1 deletions
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);
}