[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20140828150141.GC29327@sirena.org.uk>
Date: Thu, 28 Aug 2014 16:01:41 +0100
From: Mark Brown <broonie@...nel.org>
To: Axel Lin <axel.lin@...ics.com>
Cc: Chris Zhong <zyw@...k-chips.com>,
Zhang Qing <zhanqging@...k-chips.com>,
Liam Girdwood <lgirdwood@...il.com>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] regulator: rk808: Fix memory leak
On Thu, Aug 28, 2014 at 09:04:49PM +0800, Axel Lin wrote:
> The memory allocated in rk808_regulator_probe() needs to be freed when the
> module is unloaded. Thus pass &pdev->dev rather than &client->dev to
> devm_kzalloc.
Applied, thanks.
Download attachment "signature.asc" of type "application/pgp-signature" (820 bytes)
Powered by blists - more mailing lists