Commit 179a0a70 authored by Yukihiro "Matz" Matsumoto's avatar Yukihiro "Matz" Matsumoto

Merge pull request #1496 from cremno/bug-debug-info-free

BUG: mrb_irep_free (access of freed memory)
parents 2fe64f24 12997ceb
......@@ -115,9 +115,8 @@ mrb_irep_free(mrb_state *mrb, struct mrb_irep *irep)
mrb_free(mrb, irep->syms);
mrb_free(mrb, (void *)irep->filename);
mrb_free(mrb, irep->lines);
mrb_free(mrb, irep);
mrb_debug_info_free(mrb, irep->debug_info);
mrb_free(mrb, irep);
}
void
......
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