diff options
Diffstat (limited to 'ext/mysqli/mysqli.c')
| -rw-r--r-- | ext/mysqli/mysqli.c | 7 | 
1 files changed, 0 insertions, 7 deletions
| 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 */ | 
