svn: /php/php-src/trunk/Zend/ zend_API.c
| From: | Pierre Joye | Date: | Thu, 31 Mar 2011 23:58:06 +0000 |
| Subject: | svn: /php/php-src/trunk/Zend/ zend_API.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-64783@lists.php.net to get a copy of this message | ||
pajoye Thu, 31 Mar 2011 23:58:06 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=309861
Log:
- fix bug #54423, fix build in trunk, introduce by previous related commit
Bug: http://bugs.php.net/54423 (Closed) classes from
dl()'ed extensions are not destroyed
Changed paths:
U php/php-src/trunk/Zend/zend_API.c
Modified: php/php-src/trunk/Zend/zend_API.c
===================================================================
--- php/php-src/trunk/Zend/zend_API.c 2011-03-31 18:56:06 UTC (rev 309860)
+++ php/php-src/trunk/Zend/zend_API.c 2011-03-31 23:58:06 UTC (rev 309861)
@@ -2210,7 +2210,7 @@
static int clean_module_class(const zend_class_entry **ce, int *module_number TSRMLS_DC) /* {{{ */
{
- if ((*ce)->type == ZEND_INTERNAL_CLASS && (*ce)->module->module_number ==
*module_number) {
+ if ((*ce)->type == ZEND_INTERNAL_CLASS &&
(*ce)->info.internal.module->module_number == *module_number) {
return ZEND_HASH_APPLY_REMOVE;
} else {
return ZEND_HASH_APPLY_KEEP;