Commit 3a6283cb authored by Jan Lindström's avatar Jan Lindström

Fix out of array access.

parent afbd45a7
......@@ -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);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment