mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-12-24 15:14:06 +00:00
pbuf_free() assert triggered by NULLified inseg.p. Reported by Karl Jeacle on 25-7-2004 on lwip-users.
This commit is contained in:
parent
eb69032773
commit
c2abae538b
@ -351,7 +351,7 @@ tcp_input(struct pbuf *p, struct netif *inp)
|
||||
increase the reference counter in the pbuf. If so, the buffer
|
||||
isn't actually deallocated by the call to pbuf_free(), only the
|
||||
reference count is decreased. */
|
||||
pbuf_free(inseg.p);
|
||||
if (inseg.p != NULL) pbuf_free(inseg.p);
|
||||
#if TCP_INPUT_DEBUG
|
||||
#if TCP_DEBUG
|
||||
tcp_debug_print_state(pcb->state);
|
||||
|
Loading…
Reference in New Issue
Block a user