mem plug_holes: fix copy& paste error

This commit is contained in:
goldsimon 2018-02-13 12:24:10 +01:00
parent bcb6819715
commit 5ee77262bc

View File

@ -500,7 +500,7 @@ plug_holes(struct mem *mem)
lfree = pmem;
}
pmem->next = mem->next;
if (nmem->next != MEM_SIZE_ALIGNED) {
if (mem->next != MEM_SIZE_ALIGNED) {
ptr_to_mem(mem->next)->prev = mem_to_ptr(pmem);
}
}