Re: [PATCH] sis900: Fix mem leak in sis900_rx error path

From: David Miller
Date: Sat Feb 05 2011 - 21:08:50 EST


From: Jesper Juhl <jj@xxxxxxxxxxxxx>
Date: Sat, 5 Feb 2011 21:41:53 +0100 (CET)

> Fix memory leak in error path of sis900_rx(). If we don't do this we'll
> leak the skb we dev_alloc_skb()'ed just a few lines above when the
> variable goes out of scope.
>
> Signed-off-by: Jesper Juhl <jj@xxxxxxxxxxxxx>

Applied, thanks Jesper.
--
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/