diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/state.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/state.c b/src/state.c index 0a4268ecd..6d34381ba 100644 --- a/src/state.c +++ b/src/state.c @@ -20,6 +20,7 @@ mrb_open_allocf(mrb_allocf f, void *ud) if (mrb == NULL) return NULL; memset(mrb, 0, sizeof(mrb_state)); + mrb->ud = ud; mrb->allocf = f; mrb->current_white_part = MRB_GC_WHITE_A; |
