From 10bf9ef2ef24890003142d4f6a00c64c92cd05c0 Mon Sep 17 00:00:00 2001 From: likewise Date: Mon, 11 Nov 2002 14:49:17 +0000 Subject: [PATCH] ip_output() no longer frees pbuf in case no route could be found. --- src/core/ipv4/ip.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/core/ipv4/ip.c b/src/core/ipv4/ip.c index d3d06f23..55f263ab 100644 --- a/src/core/ipv4/ip.c +++ b/src/core/ipv4/ip.c @@ -642,7 +642,6 @@ ip_output(struct pbuf *p, struct ip_addr *src, struct ip_addr *dest, #ifdef IP_STATS ++stats.ip.rterr; #endif /* IP_STATS */ - pbuf_free(p); return ERR_RTE; }