mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-08-24 23:25:58 +00:00
ip_output() no longer frees pbuf in case no route could be found.
This commit is contained in:
parent
bca526b634
commit
10bf9ef2ef
@ -642,7 +642,6 @@ ip_output(struct pbuf *p, struct ip_addr *src, struct ip_addr *dest,
|
|||||||
#ifdef IP_STATS
|
#ifdef IP_STATS
|
||||||
++stats.ip.rterr;
|
++stats.ip.rterr;
|
||||||
#endif /* IP_STATS */
|
#endif /* IP_STATS */
|
||||||
pbuf_free(p);
|
|
||||||
return ERR_RTE;
|
return ERR_RTE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user