summaryrefslogtreecommitdiff
path: root/drivers/mmc/card/mmc_test.c
diff options
context:
space:
mode:
authorVladimir Motyka <vladimir.motyka@gmail.com>2011-05-11 00:00:43 -0400
committerChris Ball <cjb@laptop.org>2011-05-24 23:53:49 -0400
commitaea253ecffecd38b5ab97edd73fbe2842a7de371 (patch)
tree43ed3d608705c5a7fb5dbdbb8d75efa120f114ba /drivers/mmc/card/mmc_test.c
parentcf2b5eea1ea0ff9b3184bc6771bcb93a9fdcd1d9 (diff)
mmc: card: fix potential null dereference of 'idata'
When allocation of idata failed there was a null dereference. Also avoid calling kfree where it isn't needed. Signed-off-by: Vladimir Motyka <vladimir.motyka@gmail.com> Signed-off-by: Chris Ball <cjb@laptop.org>
Diffstat (limited to 'drivers/mmc/card/mmc_test.c')
0 files changed, 0 insertions, 0 deletions