Re: cvs: php-src /main php_variables.c
| From: | Ilia Alshanetsky | Date: | Thu, 17 Feb 2005 16:52:42 +0000 |
| Subject: | Re: cvs: php-src /main php_variables.c | ||
| References: | 1 2 | Groups: | php.cvs |
| Request: | Send a blank email to php-cvs+get-30465@lists.php.net to get a copy of this message | ||
A few lines above it we do (*src_entry)->refcount++;,
so for clarity reasons IMO it is better to "revert" the affect of the earlier statement by doing (*src_entry)->refcount--;.
Ilia
Moriyoshi Koizumi wrote:
On 2005/02/17, at 13:44, Ilia Alshanetsky wrote:Wouldn't it be better to use zend_ptr_dtor() here? Moriyoshi+ } else { + (*src_entry)->refcount--; + }