Re: [PATCH 1/2] drivers/net/fs_enet/fs_enet-main.c: Addof_node_put to avoid memory leak

From: David Miller
Date: Mon Sep 06 2010 - 21:29:27 EST


From: Julia Lawall <julia@xxxxxxx>
Date: Sat, 4 Sep 2010 12:12:43 +0200

> In this case, a device_node structure is stored in another structure that
> is then freed without first decrementing the reference count of the
> device_node structure.
>
> The semantic match that finds this problem is as follows:
> (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/