From: Wolfram Sang Date: Mon, 11 Apr 2011 04:11:29 +0000 (+0200) Subject: mmc: core: fix memory leak in mmc_add_host X-Git-Tag: v3.0-rc1~148^2~62 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f317dfeb86c83d03304a74ce5426a69422b79547;p=pandora-kernel.git mmc: core: fix memory leak in mmc_add_host led_trigger_register_simple() allocates memory which must not be leaked in the error-path of mmc_add_host. Move it past the only error-check in the function. Signed-off-by: Wolfram Sang Signed-off-by: Chris Ball --- Reading git-diff-tree failed