fix memory leak in fuction:make_cdump_irep

This commit is contained in:
skandhas
2012-12-19 15:49:40 +08:00
parent 45003023cf
commit 1187bb5f05
+4
View File
@@ -166,6 +166,10 @@ make_cdump_irep(mrb_state *mrb, int irep_no, FILE *f)
}
else
SOURCE_CODE0("");
if (buf)
mrb_free(mrb, buf);
return MRB_CDUMP_OK;
}