commit | e8b18addee32d1f389573b4c116e67ae230216ad | [log] [tgz] |
---|---|---|
author | Wei Yongjun <yongjun_wei@trendmicro.com.cn> | Tue Mar 12 00:35:14 2013 +0800 |
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | Tue Mar 12 18:42:59 2013 +0000 |
tree | 8c276fd2504407bfe3a3ba261210322a5890c623 | |
parent | f6161aa153581da4a3867a2d1a7caf4be19b6ec9 [diff] |
ASoC: core: fix possible memory leak in snd_soc_bytes_put() '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. Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>