mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-12-26 12:13:47 +00:00
Patch #1623: Add missing pbuf_free() call after pbuf_chain() in slipif_input()
This commit is contained in:
parent
7108c57876
commit
f0e0e72e4d
@ -150,6 +150,7 @@ slipif_input( struct netif * netif )
|
|||||||
|
|
||||||
if (q != NULL) {
|
if (q != NULL) {
|
||||||
pbuf_chain(q, p);
|
pbuf_chain(q, p);
|
||||||
|
pbuf_free(p);
|
||||||
} else {
|
} else {
|
||||||
q = p;
|
q = p;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user