This commit is contained in:
Peter Zhu 2021-03-01 09:40:43 -05:00 коммит произвёл Aaron Patterson
Родитель 33dc0a070a
Коммит 6d834371c0
1 изменённых файлов: 1 добавлений и 1 удалений

2
gc.c
Просмотреть файл

@ -10406,7 +10406,7 @@ rb_aligned_malloc(size_t alignment, size_t size)
GC_ASSERT(start_out_of_range_size % sysconf(_SC_PAGE_SIZE) == 0);
if (start_out_of_range_size > 0) {
if (munmap(ptr, start_out_of_range_size)) {
rb_bug("rb_aligned_malloc: munmap faile for start");
rb_bug("rb_aligned_malloc: munmap failed for start");
}
}