kopia lustrzana https://github.com/espressif/esp-idf
vfs: fix double free.
rodzic
36eccee213
commit
88e71a680e
|
@ -83,6 +83,7 @@ esp_err_t esp_vfs_fat_spiflash_mount(const char* base_path,
|
|||
goto fail;
|
||||
}
|
||||
free(workbuf);
|
||||
workbuf = NULL;
|
||||
ESP_LOGI(TAG, "Mounting again");
|
||||
fresult = f_mount(fs, drv, 0);
|
||||
if (fresult != FR_OK) {
|
||||
|
|
Ładowanie…
Reference in New Issue