mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-02-22 01:15:26 +08:00
[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…
x
Reference in New Issue
Block a user