summaryrefslogtreecommitdiff
path: root/ext/mysqli/mysqli.c
diff options
context:
space:
mode:
authorAndrey Hristov <andrey@php.net>2008-09-19 11:35:37 +0000
committerAndrey Hristov <andrey@php.net>2008-09-19 11:35:37 +0000
commit722b9135d9b4c43fab62ff73ea9e106e1455d5da (patch)
tree844ce100011cf70d6aa55e2babedaa9f7f9290b2 /ext/mysqli/mysqli.c
parentd17dab311f96f6b3ddeac4133b98ceb59fa0b9b0 (diff)
downloadphp-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.c2
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);
}