[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20170220.103359.1862376843340449706.davem@davemloft.net>
Date: Mon, 20 Feb 2017 10:33:59 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: christophe.jaillet@...adoo.fr
Cc: jszhang@...vell.com, tremyfr@...il.com, f.fainelli@...il.com,
edumazet@...gle.com, thomas.petazzoni@...e-electrons.com,
arnd@...db.de, jarod@...hat.com, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org, kernel-janitors@...r.kernel.org
Subject: Re: [PATCH] net: mvpp2: Fix a memory leak in error handling path
From: Christophe JAILLET <christophe.jaillet@...adoo.fr>
Date: Sun, 19 Feb 2017 10:19:57 +0100
> if 'devm_kzalloc()' fails, we should release resources allocated so far,
> just as done a few lines below.
>
> Signed-off-by: Christophe JAILLET <christophe.jaillet@...adoo.fr>
Applied.
Powered by blists - more mailing lists