summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mjit.c7
1 files changed, 5 insertions, 2 deletions
@@ -183,7 +183,10 @@ mjit_cont_new(rb_execution_context_t *ec)
{
struct mjit_cont *cont;
- cont = ZALLOC(struct mjit_cont);
cont->ec = ec;
CRITICAL_SECTION_START(3, "in mjit_cont_new");
@@ -218,7 +221,7 @@ mjit_cont_free(struct mjit_cont *cont)
}
CRITICAL_SECTION_FINISH(3, "in mjit_cont_new");
- xfree(cont);
}
// Finish work with continuation info.