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: NVladimir Motyka <vladimir.motyka@gmail.com> Signed-off-by: NChris Ball <cjb@laptop.org>
Showing
想要评论请 注册 或 登录