fixed minor flaws in the code

This commit is contained in:
2021-03-25 16:53:05 +00:00
parent 307bdee5cc
commit e46d7fa286
2 changed files with 7 additions and 3 deletions

View File

@ -1084,7 +1084,7 @@ static void free_heap (hcl_t* hcl, void* ptr)
actual_ptr = (hcl_oow_t*)ptr - 1;
munmap (actual_ptr, *actual_ptr);
#else
return HCL_MMGR_FREE(hcl->_mmgr, ptr);
HCL_MMGR_FREE(hcl->_mmgr, ptr);
#endif
}