diff options
author | Vicențiu Ciorbaru <vicentiu@mariadb.org> | 2018-06-11 21:16:37 +0300 |
---|---|---|
committer | Vicențiu Ciorbaru <vicentiu@mariadb.org> | 2018-06-11 21:16:37 +0300 |
commit | d54d06760195ed0117882a7b8dacfb6cfc23e823 (patch) | |
tree | 5ed8b367bda1dae6c6797c9e4d670f5f04c42e2b | |
parent | ecd4c2b4a953596e15b90c1108aaa74a87d9b945 (diff) | |
download | mariadb-git-d54d06760195ed0117882a7b8dacfb6cfc23e823.tar.gz |
Undo wrong my_free overflow
-rw-r--r-- | client/mysqltest.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/client/mysqltest.cc b/client/mysqltest.cc index 803550ba7be..b962813f558 100644 --- a/client/mysqltest.cc +++ b/client/mysqltest.cc @@ -1507,7 +1507,7 @@ void free_used_memory() dynstr_free(&(*q)->content); my_free((*q)); } - for (i= 0; i < 12; i++) + for (i= 0; i < 10; i++) { if (var_reg[i].alloced_len) my_free(var_reg[i].str_val); |