mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
fix(ble/bluedroid): Fix ble memory leak when gattc config off
This commit is contained in:
parent
2a6cbd0d3d
commit
8b66455e5c
@ -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…
Reference in New Issue
Block a user