]> Git Repo - linux.git/commit - sound/soc/codecs/wm_adsp.c
ASoC: wm_adsp: fix possible memory leak in wm_adsp_load_coeff()
authorWei Yongjun <[email protected]>
Mon, 11 Mar 2013 16:23:15 +0000 (00:23 +0800)
committerMark Brown <[email protected]>
Tue, 12 Mar 2013 18:42:06 +0000 (18:42 +0000)
commitf4b828128ab64fd9dc5eec9525b38fbfeafa5c0e
tree2128f939d05d01fd78b324c5ab24a6245b25e4f3
parentf6161aa153581da4a3867a2d1a7caf4be19b6ec9
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 <[email protected]>
Signed-off-by: Mark Brown <[email protected]>
sound/soc/codecs/wm_adsp.c
This page took 0.050888 seconds and 4 git commands to generate.