Skip to content
Commit aea253ec authored by Vladimir Motyka's avatar Vladimir Motyka Committed by Chris Ball
Browse files

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: default avatarVladimir Motyka <vladimir.motyka@gmail.com>
Signed-off-by: default avatarChris Ball <cjb@laptop.org>
parent cf2b5eea
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment