mirror of
https://github.com/MariaDB/server.git
synced 2026-04-25 17:55:31 +02:00
Fix out of array access.
This commit is contained in:
parent
afbd45a791
commit
3a6283cb3c
1 changed files with 1 additions and 1 deletions
|
|
@ -1462,7 +1462,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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue