summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ext/mysqli/mysqli.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/ext/mysqli/mysqli.c b/ext/mysqli/mysqli.c
index e263f7f41d..d9a8e1137b 100644
--- a/ext/mysqli/mysqli.c
+++ b/ext/mysqli/mysqli.c
@@ -108,7 +108,6 @@ void php_clear_stmt_bind(MY_STMT *stmt)
/* {{{ php_clear_mysql */
void php_clear_mysql(MY_MYSQL *mysql) {
if (mysql->li_read) {
- printf("freeing...\n");
efree(Z_STRVAL_P(mysql->li_read));
FREE_ZVAL(mysql->li_read);
mysql->li_read = NULL;
@@ -920,12 +919,10 @@ void php_local_infile_end(void *ptr)
data= (mysqli_local_infile *)ptr;
if (!(mysql = data->userdata)) {
- efree(data);
return;
}
php_stream_close(mysql->li_stream);
- //efree(data);
return;
}
/* }}} */