[Components][SDIO]fix Null point access

This commit is contained in:
ZYH 2018-09-22 14:56:55 +08:00
parent f6be7abb2d
commit 3d69c44ab8
1 changed files with 1 additions and 0 deletions

View File

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