mirror of
https://github.com/php/php-src.git
synced 2025-08-18 15:08:55 +02:00
Merge branch 'PHP-5.6'
* PHP-5.6: Fix bug #67433 SIGSEGV when using count() on an object implementing Countable
This commit is contained in:
commit
7d2bcbe20c
1 changed files with 1 additions and 2 deletions
|
@ -342,8 +342,7 @@ PHP_FUNCTION(count)
|
|||
RETVAL_LONG(Z_LVAL_P(retval));
|
||||
zval_ptr_dtor(&retval);
|
||||
}
|
||||
zval_dtor(mode_zv);
|
||||
efree(mode_zv);
|
||||
zval_ptr_dtor(&mode_zv);
|
||||
return;
|
||||
}
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue