From: Axel Lin Date: Fri, 23 Jul 2010 05:53:44 +0000 (+0000) Subject: ASoC: ak4642: fix a memory leak if failed to initialise AK4642 X-Git-Tag: v2.6.36-rc1~493^2~1^2~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7bcaad919bc7aaa084f5884aa15654fe1fa4c77f;p=pandora-kernel.git ASoC: ak4642: fix a memory leak if failed to initialise AK4642 ak4642 should be kfreed if ak4642_init() return error. Signed-off-by: Axel Lin Reviewed-by: Kuninori Morimoto Acked-by: Liam Girdwood Signed-off-by: Mark Brown --- Reading git-diff-tree failed