From: Wei Yongjun Date: Mon, 11 Mar 2013 16:23:15 +0000 (+0800) Subject: ASoC: wm_adsp: fix possible memory leak in wm_adsp_load_coeff() X-Git-Tag: v3.9-rc6~16^2~7^2~7^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f4b828128ab64fd9dc5eec9525b38fbfeafa5c0e;p=pandora-kernel.git 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 Signed-off-by: Mark Brown --- Reading git-diff-tree failed