[alsa-devel] [PATCH v2] ASoC: wm_adsp: Fix memory leak in wm_adsp_setup_algs

Mark Brown broonie at kernel.org
Tue Nov 18 18:15:55 CET 2014


On Tue, Nov 18, 2014 at 04:29:12PM +0000, Charles Keepax wrote:
> From: JS Park <aitdark.park at samsung.com>
> 
> If we fail to allocate memory for one of the memory regions whilst
> parsing the DSP firmware, we will leak the buffer holding the algorithm
> information. This patch ensures that this buffer is freed on all error
> paths.

I already applied this, this was a request for future patches.
-------------- 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/20141118/b6281a1e/attachment.sig>


More information about the Alsa-devel mailing list