Skip to content
Permalink
Browse files
Undo wrong my_free overflow
  • Loading branch information
cvicentiu committed Jun 11, 2018
1 parent ecd4c2b commit d54d067
Showing 1 changed file with 1 addition and 1 deletion.
@@ -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);

0 comments on commit d54d067

Please sign in to comment.