4
0
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:
ZYH 2018-09-22 14:56:55 +08:00
parent f6be7abb2d
commit 3d69c44ab8

View File

@ -938,6 +938,7 @@ err3:
host->card->sdio_function[i] = RT_NULL;
rt_free(host->card);
host->card = RT_NULL;
break;
}
}
}