ip_output() no longer frees pbuf in case no route could be found.

This commit is contained in:
likewise 2002-11-11 14:49:17 +00:00
parent bca526b634
commit 10bf9ef2ef

View File

@ -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;
} }