From: Georg Richter Date: Tue, 18 Feb 2003 00:32:47 +0000 (+0000) Subject: removed duplicate code X-Git-Tag: RELEASE_0_5~930 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2f604f67e8180a459f802d2ba07ac82c1c206549;p=php removed duplicate code --- diff --git a/ext/mysqli/mysqli.c b/ext/mysqli/mysqli.c index 75996eab4d..0fbe0f514e 100644 --- a/ext/mysqli/mysqli.c +++ b/ext/mysqli/mysqli.c @@ -81,13 +81,6 @@ static void mysqli_objects_dtor(void *object, zend_object_handle handle TSRMLS_D if (intern->zo.ce == mysqli_link_class_entry) { MYSQL *mysql = (MYSQL *)intern->ptr; if (mysql) { - /* - * Don't free mysql if there exist - * non closed statements - */ - if (mysql->stmts) { - mysql->free_me = 0; - } mysql_close(mysql); } } else if (intern->zo.ce == mysqli_stmt_class_entry) { /* stmt object */