Skip to content

Commit 18c84ea

Browse files
committed
Use corresponding me_host_free for iseq/data to match me_host_malloc
1 parent db03e6b commit 18c84ea

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

ext/mruby_engine/mruby_engine.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -417,8 +417,8 @@ struct me_iseq *me_iseq_new(
417417
}
418418

419419
void me_iseq_destroy(struct me_iseq *iseq) {
420-
free(iseq->data);
421-
free(iseq);
420+
me_host_free(iseq->data);
421+
me_host_free(iseq);
422422
}
423423

424424
size_t me_iseq_size(struct me_iseq *iseq) {

0 commit comments

Comments
 (0)