[alsa-devel] [patch] ASoC: Baytrail: fix error handling in sst_byt_dsp_init()

Mark Brown broonie at kernel.org
Thu Mar 6 05:22:50 CET 2014


On Wed, Mar 05, 2014 at 02:11:57PM +0300, Dan Carpenter wrote:
> Calling "kfree(byt)" is a double free because that was allocated with
> devm_kzalloc().  There were a couple places which leak "byt->msg".  That
> memory is allocated in msg_empty_list_init().

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


More information about the Alsa-devel mailing list