Re: [PATCH] ASoC: core: fix possible memory leak insnd_soc_bytes_put()

From: Mark Brown
Date: Tue Mar 12 2013 - 14:43:28 EST


On Tue, Mar 12, 2013 at 12:35:14AM +0800, Wei Yongjun wrote:
> From: Wei Yongjun <yongjun_wei@xxxxxxxxxxxxxxxxx>
>
> 'data' is malloced in snd_soc_bytes_put() 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