From: Wei WANG Date: Wed, 17 Jul 2013 06:21:10 +0000 (+0800) Subject: mmc: core: free mmc_card if cmd 3,9,7 fails in mmc_sd_init_card X-Git-Tag: v3.12-rc1~69^2~38 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7fca96758e977497c67a424006c60aaf2d3db212;p=pandora-kernel.git mmc: core: free mmc_card if cmd 3,9,7 fails in mmc_sd_init_card In function mmc_sd_init_card, if command 3/9/7 got failed, mmc_card allocated just before won't be freed. This would cause memory leak. Signed-off-by: Wei WANG Signed-off-by: Chris Ball --- Reading git-diff-tree failed