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

Liam Girdwood liam.r.girdwood at linux.intel.com
Wed Mar 5 20:18:29 CET 2014

On Wed, 2014-03-05 at 14:11 +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().

Thanks, we've just fixed this too but were not quicker than you for
upstreaming ;)

Acked-by: Liam Girdwood <liam.r.girdwood at linux.intel.com>

More information about the Alsa-devel mailing list