mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-16 22:39:48 +00:00
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>
This commit is contained in:
parent
cf2b5eea1e
commit
aea253ecff
1 changed files with 6 additions and 5 deletions
Loading…
Add table
Add a link
Reference in a new issue