ソースを参照

[Components][SDIO]fix Null point access

ZYH 6 年 前
コミット
3d69c44ab8
1 ファイル変更1 行追加0 行削除
  1. 1 0
      components/drivers/sdio/sdio.c

+ 1 - 0
components/drivers/sdio/sdio.c

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