summaryrefslogtreecommitdiff
path: root/Zend/zend_compile.c
diff options
context:
space:
mode:
authorZeev Suraski <zeev@php.net>1999-04-12 18:40:18 +0000
committerZeev Suraski <zeev@php.net>1999-04-12 18:40:18 +0000
commit15be5f0b4a82d06f9c626fe05e42a9801a117c64 (patch)
treeaaa7cf252dbf338d810a995d00b74b8cadd470fa /Zend/zend_compile.c
parent39a7f4c306675d3a03ff56f0a8c7f5e2183ab09a (diff)
downloadphp-git-15be5f0b4a82d06f9c626fe05e42a9801a117c64.tar.gz
Destroy the resource list after destroying the symbol table, otherwise the
auto-destructor for resources are run when the resource list is no longer valid
Diffstat (limited to 'Zend/zend_compile.c')
-rw-r--r--Zend/zend_compile.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/Zend/zend_compile.c b/Zend/zend_compile.c
index f29c33f024..5d16f370c1 100644
--- a/Zend/zend_compile.c
+++ b/Zend/zend_compile.c
@@ -78,7 +78,6 @@ void shutdown_compiler(CLS_D)
zend_llist_destroy(&CG(filenames_list));
zend_hash_apply(CG(function_table), (int (*)(void *)) is_not_internal_function);
zend_hash_apply(CG(class_table), (int (*)(void *)) is_not_internal_class);
- destroy_resource_list();
zend_hash_apply(&module_registry, (int (*)(void *)) module_registry_cleanup);
}