From: Dimitris Papastamos Date: Wed, 31 Jul 2013 12:28:52 +0000 (+0100) Subject: ASoC: wm0010: Fix resource leak X-Git-Tag: v3.11-rc4~4^2~1^2^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4f8b19143d74e1c3360b21640065765a12bafb1b;p=pandora-kernel.git ASoC: wm0010: Fix resource leak If kzalloc() fails for `img' then we are going to leak the memory for `out'. We are freeing the memory of all the tx/rx transfers but the tx/rx buf pointers will be NULL if we drop out earlier. Signed-off-by: Dimitris Papastamos Signed-off-by: Mark Brown --- Reading git-diff-tree failed