[Components][SDIO]fix Null point access
This commit is contained in:
parent
f6be7abb2d
commit
3d69c44ab8
|
@ -938,6 +938,7 @@ err3:
|
||||||
host->card->sdio_function[i] = RT_NULL;
|
host->card->sdio_function[i] = RT_NULL;
|
||||||
rt_free(host->card);
|
rt_free(host->card);
|
||||||
host->card = RT_NULL;
|
host->card = RT_NULL;
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue