mirror of
https://git.savannah.nongnu.org/git/lwip.git
synced 2026-08-10 17:43:39 +08:00
mem plug_holes: fix copy& paste error
This commit is contained in:
@@ -500,7 +500,7 @@ plug_holes(struct mem *mem)
|
|||||||
lfree = pmem;
|
lfree = pmem;
|
||||||
}
|
}
|
||||||
pmem->next = mem->next;
|
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);
|
ptr_to_mem(mem->next)->prev = mem_to_ptr(pmem);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user