mirror of
https://github.com/php/php-src.git
synced 2026-04-10 01:23:53 +02:00
Fixed __get() related memleak
This commit is contained in:
@@ -170,9 +170,9 @@ static void zend_std_call_getter(zval *object, zval *member, zval *retval TSRMLS
|
||||
|
||||
zval_ptr_dtor(member);
|
||||
|
||||
if (Z_REFCOUNTED_P(retval)) {
|
||||
Z_DELREF_P(retval);
|
||||
}
|
||||
//??? if (Z_REFCOUNTED_P(retval)) {
|
||||
//??? Z_DELREF_P(retval);
|
||||
//??? }
|
||||
}
|
||||
/* }}} */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user