From: Magnus Damm Date: Wed, 11 Mar 2009 12:59:03 +0000 (+0900) Subject: tmio_mmc: Fix use after free in remove() X-Git-Tag: v2.6.30-rc1~209^2~26 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bedcc45c2e5d72b1c4b087b725c391441a93eee6;p=pandora-kernel.git tmio_mmc: Fix use after free in remove() Update the tmio_mmc code to call mmc_free_host() when done using the private data. Without this fix the driver frees memory and then keeps on using it as private data. Signed-off-by: Magnus Damm Acked-by: Ian Molton Signed-off-by: Pierre Ossman --- Reading git-diff-tree failed