Merge branch 'bugfix/fix_ble_memory_leak_v4.4' into 'release/v4.4'

fix(ble/bluedroid): Fix ble memory leak when gattc config off(backport v4.4)

See merge request espressif/esp-idf!28498
pull/13426/head
Island 2024-01-22 10:42:22 +08:00
commit 753bed36c4
1 zmienionych plików z 0 dodań i 2 usunięć

Wyświetl plik

@ -194,9 +194,7 @@ void gatt_free(void)
#endif /* #if (GATTS_INCLUDED == TRUE) */
}
list_free(gatt_cb.p_tcb_list);
#if (GATTC_INCLUDED == TRUE)
list_free(gatt_cb.p_clcb_list);
#endif //(GATTC_INCLUDED == TRUE)
#if (GATTS_INCLUDED == TRUE)
for (int i = 0; i < GATT_MAX_SR_PROFILES; i++) {