diff options
author | Wei Yongjun <yongjun_wei@trendmicro.com.cn> | 2013-03-11 17:23:15 +0100 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2013-03-12 19:42:06 +0100 |
commit | f4b828128ab64fd9dc5eec9525b38fbfeafa5c0e (patch) | |
tree | 2128f939d05d01fd78b324c5ab24a6245b25e4f3 /crypto/camellia_generic.c | |
parent | Linux 3.9-rc2 (diff) | |
download | linux-f4b828128ab64fd9dc5eec9525b38fbfeafa5c0e.tar.xz linux-f4b828128ab64fd9dc5eec9525b38fbfeafa5c0e.zip |
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 'crypto/camellia_generic.c')
0 files changed, 0 insertions, 0 deletions