mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-02-21 01:47:09 +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;
|
||||
rt_free(host->card);
|
||||
host->card = RT_NULL;
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user