diff options
author | Antony Dovgal <tony2001@php.net> | 2004-12-09 08:22:06 +0000 |
---|---|---|
committer | Antony Dovgal <tony2001@php.net> | 2004-12-09 08:22:06 +0000 |
commit | 01f31dcccb916f9c13c0d25e585b7cae2c20192d (patch) | |
tree | 90fc2c0d52a259a82164b223f9b1710e5a1b460f | |
parent | 3996f376519a219ae9ceb21a13e7f5ebb5829296 (diff) | |
download | php-git-01f31dcccb916f9c13c0d25e585b7cae2c20192d.tar.gz |
fix buffer overrun and remove debug printf() call
-rw-r--r-- | ext/mysqli/mysqli.c | 3 |
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; } /* }}} */ |