[alsa-devel] [PATCH -next] ASoC: Intel: sst_byt: remove kfree for memory allocated with devm_kzalloc

Mark Brown broonie at kernel.org
Fri Apr 17 15:32:57 CEST 2015


On Thu, Apr 16, 2015 at 09:46:29PM +0800, weiyj_lk at 163.com wrote:
> From: Wei Yongjun <yongjun_wei at trendmicro.com.cn>
> 
> It's not necessary to free memory allocated with devm_kzalloc
> and using kfree leads to a double free.

Applied, thanks.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: Digital signature
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20150417/537cbbc5/attachment.sig>


More information about the Alsa-devel mailing list