diff options
author | Wei Yongjun <yongjun_wei@trendmicro.com.cn> | 2013-03-12 00:23:15 +0800 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2013-03-12 18:42:06 +0000 |
commit | f4b828128ab64fd9dc5eec9525b38fbfeafa5c0e (patch) | |
tree | 2128f939d05d01fd78b324c5ab24a6245b25e4f3 /security | |
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>
Diffstat (limited to 'security')
0 files changed, 0 insertions, 0 deletions