diff options
author | Wei WANG <wei_wang@realsil.com.cn> | 2013-07-17 06:21:10 (GMT) |
---|---|---|
committer | Chris Ball <cjb@laptop.org> | 2013-08-25 02:53:30 (GMT) |
commit | 7fca96758e977497c67a424006c60aaf2d3db212 (patch) | |
tree | 24d59d1530a6d580008efe3b70d2e0fe712f71b3 /drivers/platform/x86/intel_scu_ipc.c | |
parent | 0506bc57f5f48200d00c153c403dc340eb092e4e (diff) | |
download | linux-fsl-qoriq-7fca96758e977497c67a424006c60aaf2d3db212.tar.xz |
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 <wei_wang@realsil.com.cn>
Signed-off-by: Chris Ball <cjb@laptop.org>
Diffstat (limited to 'drivers/platform/x86/intel_scu_ipc.c')
0 files changed, 0 insertions, 0 deletions