Re: [PATCH] ASoC: wm_adsp: fix possible memory leak inwm_adsp_load_coeff()

From: Mark Brown
Date: Tue Mar 12 2013 - 14:42:34 EST


On Tue, Mar 12, 2013 at 12:23:15AM +0800, Wei Yongjun wrote:
> From: Wei Yongjun <yongjun_wei@xxxxxxxxxxxxxxxxx>
>
> '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.

Attachment: signature.asc
Description: Digital signature