Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
使用中的内存在 0 ~ total_num-1 范围内,而空闲内存在 total_num ~ max_num-1 处,释放空闲内存时,应该从total_num开始,而不是total_num-1,因为total_num-1处的内存已经释放过一次,再次释放会使程序崩溃。
- Loading branch information