[PATCH] ASoC: core: fix possible memory leak in snd_soc_bytes_put()
Mark Brown
broonie at opensource.wolfsonmicro.com
Wed Mar 13 05:43:19 EST 2013
On Tue, Mar 12, 2013 at 12:35:14AM +0800, Wei Yongjun wrote:
> From: Wei Yongjun <yongjun_wei at trendmicro.com.cn>
>
> '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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.ozlabs.org/pipermail/devicetree-discuss/attachments/20130312/46877128/attachment-0001.sig>
More information about the devicetree-discuss
mailing list