commit | f4b828128ab64fd9dc5eec9525b38fbfeafa5c0e | [log] [tgz] |
---|---|---|
author | Wei Yongjun <yongjun_wei@trendmicro.com.cn> | Tue Mar 12 00:23:15 2013 +0800 |
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | Tue Mar 12 18:42:06 2013 +0000 |
tree | 2128f939d05d01fd78b324c5ab24a6245b25e4f3 | |
parent | f6161aa153581da4a3867a2d1a7caf4be19b6ec9 [diff] |
ASoC: wm_adsp: fix possible memory leak in wm_adsp_load_coeff() '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. Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>