mirror of
https://github.com/espressif/esp-idf
synced 2025-03-10 17:49:10 -04:00
Merge branch 'bugfix/fix_ble_memory_leak_v5.2' into 'release/v5.2'
fix(ble/bluedroid): Fix ble memory leak when gattc config off(backport v5.2) See merge request espressif/esp-idf!28495
This commit is contained in:
commit
9156cb085f
@ -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++) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user