Re: [PATCH 1/5] drivers/net/irda: Eliminate memory leak

From: David Miller
Date: Wed Aug 25 2010 - 19:37:37 EST


From: Julia Lawall <julia@xxxxxxx>
Date: Tue, 24 Aug 2010 16:38:33 +0200 (CEST)

> From: Julia Lawall <julia@xxxxxxx>
>
> dev_alloc_skb allocates some memory, so that memory should be freed before
> leaving the function in an error case.
>
> Corrected some typos in a nearby comment as well.
>
> A simplified version of the semantic match that finds this problem is:
> (http://coccinelle.lip6.fr/)
...
> Signed-off-by: Julia Lawall <julia@xxxxxxx>

Applied.
--
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/