Re: [CHECKER] 32 Memory Leaks on Error Paths

From: David S. Miller
Date: Sat Sep 20 2003 - 03:12:30 EST


On Tue, 16 Sep 2003 11:07:48 +0200
Jörn Engel <joern@xxxxxxxxxxxxxxxxxxxx> wrote:

> Looks valid. And since skb isn't really needed until after these
> returns, moving four lines down a bit fixes the problem.
>
> Davem, is this correct?

Nope, now you're leaking the route instead of the SKB :-)

I'll put the correct fix in.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/