[alsa-devel] [PATCH] ASoC: wm_adsp: fix possible memory leak in wm_adsp_load_coeff()

Mark Brown broonie at opensource.wolfsonmicro.com
Tue Mar 12 19:42:26 CET 2013

On Tue, Mar 12, 2013 at 12:23:15AM +0800, Wei Yongjun wrote:
> From: Wei Yongjun <yongjun_wei at trendmicro.com.cn>
> 'file' is malloced in wm_adsp_load_coeff() and should be freed
> before leaving from the error handling cases, otherwise it will cause
> memory leak.

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/20130312/75a13da2/attachment.sig>

More information about the Alsa-devel mailing list