mirror of
https://github.com/espressif/esp-idf.git
synced 2026-10-01 18:50:34 +03:00
fix(sdmmc): release aligned DMA buffer on card deinit
This commit is contained in:
+1
-3
@@ -114,9 +114,7 @@ static void s_master_init(test_sdio_param_t *host_param, essl_handle_t *out_hand
|
||||
|
||||
static void s_master_deinit(void)
|
||||
{
|
||||
free(s_card.host.dma_aligned_buffer);
|
||||
s_card.host.dma_aligned_buffer = 0;
|
||||
|
||||
sdmmc_card_deinit(&s_card);
|
||||
sdmmc_host_deinit();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user