mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
[win32] suppress false warning by MSVC
This commit is contained in:
parent
502d9bcd36
commit
364526cd70
1 changed files with 2 additions and 1 deletions
|
@ -428,7 +428,8 @@ free_unit(struct rb_mjit_unit *unit)
|
|||
unit->iseq->body->jit_unit = NULL;
|
||||
}
|
||||
if (unit->cc_entries) {
|
||||
free(unit->cc_entries);
|
||||
void *entries = (void *)unit->cc_entries;
|
||||
free(entries);
|
||||
}
|
||||
if (unit->handle && dlclose(unit->handle)) { // handle is NULL if it's in queue
|
||||
mjit_warning("failed to close handle for u%d: %s", unit->id, dlerror());
|
||||
|
|
Loading…
Reference in a new issue