1
0
mirror of https://github.com/php/php-src.git synced 2026-03-31 20:53:00 +02:00

Fixed double call to php_stream_close() on compiler errors

This commit is contained in:
Dmitry Stogov
2005-06-09 16:56:59 +00:00
parent af2cbccc89
commit 1bdfef5b38
2 changed files with 2 additions and 5 deletions

View File

@@ -827,6 +827,8 @@ void zend_deactivate(TSRMLS_D)
shutdown_compiler(TSRMLS_C);
} zend_end_try();
zend_destroy_rsrc_list(&EG(regular_list) TSRMLS_CC);
zend_try {
zend_ini_deactivate(TSRMLS_C);
} zend_end_try();

View File

@@ -285,11 +285,6 @@ void shutdown_executor(TSRMLS_D)
clean_non_persistent_constants(TSRMLS_C);
} zend_end_try();
/* The regular list must be destroyed after the main symbol table,
* op arrays, and constants are destroyed.
*/
zend_destroy_rsrc_list(&EG(regular_list) TSRMLS_CC);
zend_try {
#if ZEND_DEBUG
signal(SIGSEGV, original_sigsegv_handler);