mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-12-26 21:14:09 +00:00
mem plug_holes: fix copy& paste error
This commit is contained in:
parent
bcb6819715
commit
5ee77262bc
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user