[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20161125.203026.453934005279145007.davem@davemloft.net>
Date: Fri, 25 Nov 2016 20:30:26 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: dan.carpenter@...cle.com
Cc: madalin.bucur@....com, igal.liberman@...escale.com,
netdev@...r.kernel.org, kernel-janitors@...r.kernel.org
Subject: Re: [patch] fsl/fman: fix a leak in tgec_free()
From: Dan Carpenter <dan.carpenter@...cle.com>
Date: Thu, 24 Nov 2016 14:20:43 +0300
> We set "tgec->cfg" to NULL before passing it to kfree(). There is no
> need to set it to NULL at all. Let's just delete it.
>
> Fixes: 57ba4c9b56d8 ("fsl/fman: Add FMan MAC support")
> Signed-off-by: Dan Carpenter <dan.carpenter@...cle.com>
Applied.
Powered by blists - more mailing lists