[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20100906.182935.212701145.davem@davemloft.net>
Date: Mon, 06 Sep 2010 18:29:35 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: julia@...u.dk
Cc: pantelis.antoniou@...il.com, kernel-janitors@...r.kernel.org,
vbordug@...mvista.com, grant.likely@...retlab.ca,
linuxppc-dev@...ts.ozlabs.org, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org, devicetree-discuss@...ts.ozlabs.org
Subject: Re: [PATCH 1/2] drivers/net/fs_enet/fs_enet-main.c: Add
of_node_put to avoid memory leak
From: Julia Lawall <julia@...u.dk>
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@...u.dk>
Applied.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists