diff options
author | Zeev Suraski <zeev@php.net> | 1999-12-04 13:26:57 +0000 |
---|---|---|
committer | Zeev Suraski <zeev@php.net> | 1999-12-04 13:26:57 +0000 |
commit | 9baad804595a97e47baf3f75836fcc9596f2351e (patch) | |
tree | e19df22a56f05958ab5ab540c964a9f60ef95931 /Zend/zend_compile.c | |
parent | da5464b145be141a4b9a7130d554f73e022acc85 (diff) | |
download | php-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.c | 2 |
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); } |