diff options
author | Andrey Hristov <andrey@php.net> | 2008-09-19 11:35:37 +0000 |
---|---|---|
committer | Andrey Hristov <andrey@php.net> | 2008-09-19 11:35:37 +0000 |
commit | 722b9135d9b4c43fab62ff73ea9e106e1455d5da (patch) | |
tree | 844ce100011cf70d6aa55e2babedaa9f7f9290b2 /ext/mysqli/mysqli.c | |
parent | d17dab311f96f6b3ddeac4133b98ceb59fa0b9b0 (diff) | |
download | php-git-722b9135d9b4c43fab62ff73ea9e106e1455d5da.tar.gz |
Fix for bug#46019 MySQLi::init() leaks memory
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 89bee8c58f..d3a500b579 100644 --- a/ext/mysqli/mysqli.c +++ b/ext/mysqli/mysqli.c @@ -1255,7 +1255,7 @@ void php_mysqli_fetch_into_hash(INTERNAL_FUNCTION_PARAMETERS, int override_flags } else { ZVAL_STRINGL(res, row[i], field_len[i], 1); } - + if (m if (fetchtype & MYSQLI_NUM) { add_index_zval(return_value, i, res); } |