Skip to content
Permalink
Browse files
Fix out of array access.
  • Loading branch information
Jan Lindström committed Apr 6, 2018
1 parent afbd45a commit 3a6283c
Showing 1 changed file with 1 addition and 1 deletion.
@@ -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);

0 comments on commit 3a6283c

Please sign in to comment.