mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2026-02-07 18:02:15 +08:00
[Components][SDIO]fix Null point access
This commit is contained in:
@@ -938,6 +938,7 @@ err3:
|
||||
host->card->sdio_function[i] = RT_NULL;
|
||||
rt_free(host->card);
|
||||
host->card = RT_NULL;
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user