Skip to content
Snippets Groups Projects
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
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment