mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
Move mrb_gc_arena_restore to inside the loop in mrb_file_s_chmod
This commit is contained in:
@@ -423,9 +423,9 @@ mrb_file_s_chmod(mrb_state *mrb, mrb_value klass) {
|
||||
mrb_sys_fail(mrb, utf8_path);
|
||||
}
|
||||
mrb_locale_free(path);
|
||||
mrb_gc_arena_restore(mrb, ai);
|
||||
}
|
||||
|
||||
mrb_gc_arena_restore(mrb, ai);
|
||||
return mrb_fixnum_value(argc);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user