diff options
author | Marcus Boerger <helly@php.net> | 2004-07-05 19:36:10 +0000 |
---|---|---|
committer | Marcus Boerger <helly@php.net> | 2004-07-05 19:36:10 +0000 |
commit | c884ad017cc7c214393df5d3aed1d93ba9a78dfd (patch) | |
tree | 8363d261e19af658a68afbaa13a777d02e8d14a2 /ext/mysqli/mysqli.c | |
parent | 82b4d74fd4aa67729101605e3d8c1f48bf0df069 (diff) | |
download | php-git-c884ad017cc7c214393df5d3aed1d93ba9a78dfd.tar.gz |
- Bugfix: #29019 Database not closing
Diffstat (limited to 'ext/mysqli/mysqli.c')
-rw-r--r-- | ext/mysqli/mysqli.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/mysqli/mysqli.c b/ext/mysqli/mysqli.c index c2f72b5d90..9f248ceb67 100644 --- a/ext/mysqli/mysqli.c +++ b/ext/mysqli/mysqli.c @@ -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; |