mirror of
https://github.com/php/php-src.git
synced 2024-11-24 10:24:11 +08:00
- Bugfix: #29019 Database not closing
This commit is contained in:
parent
82b4d74fd4
commit
c884ad017c
1
NEWS
1
NEWS
@ -3,6 +3,7 @@ PHP NEWS
|
||||
?? Jul 2004, PHP 5.0.0
|
||||
- Updated PCRE to provide better error handling in certain cases. (Andrei)
|
||||
- Changed doc comments to require a single white space after '/**'. (Marcus)
|
||||
- Fixed bug #29019 (Database not closing). (Marcus)
|
||||
- Fixed bug #28895 (ReflectionClass::isAbstract always returns false). (Marcus)
|
||||
- Fixed bug #28868 (Internal filter registry not thread safe). (Sara)
|
||||
- Fixed bug #28851 (call_user_func_array has typo in error message). (Marcus)
|
||||
|
@ -132,7 +132,7 @@ static void mysqli_objects_free_storage(zend_object *object TSRMLS_DC)
|
||||
FREE_HASHTABLE(intern->zo.properties);
|
||||
|
||||
/* link object */
|
||||
if (intern->zo.ce == mysqli_link_class_entry) {
|
||||
if (instanceof_function(intern->zo.ce, mysqli_link_class_entry TSRMLS_CC)) {
|
||||
if (my_res && my_res->ptr) {
|
||||
MY_MYSQL *mysql = (MY_MYSQL *)my_res->ptr;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user