cvs: Zend / zend_execute_API.c

From: Date: Thu, 12 Sep 2002 17:11:50 +0000
Subject: cvs: Zend / zend_execute_API.c
Groups: php.zend-engine.cvs 
Request: Send a blank email to php-zend-engine-cvs+get-419@lists.php.net to get a copy of this message
andrei Thu Sep 12 13:11:50 2002 EDT Modified files: /Zend zend_execute_API.c Log: Fix for resources defined as constants. Index: Zend/zend_execute_API.c diff -u Zend/zend_execute_API.c:1.149 Zend/zend_execute_API.c:1.150 --- Zend/zend_execute_API.c:1.149 Mon Sep 9 11:10:36 2002 +++ Zend/zend_execute_API.c Thu Sep 12 13:11:50 2002 @@ -195,13 +195,16 @@ } } zend_end_try(); - /* The regular list must be destroyed after the main symbol table and - * op arrays are destroyed. + zend_try { + 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 { - clean_non_persistent_constants(TSRMLS_C); #if ZEND_DEBUG signal(SIGSEGV, original_sigsegv_handler); #endif

« previous php.zend-engine.cvs (#419) next »