Merge branch 'bugfix/fix_ble_deinit_memory_leak_v5.1' into 'release/v5.1'

fix(ble/bluedroid): fix memory leak during deinit when service table is created but not started (v5.1)

See merge request espressif/esp-idf!42702
This commit is contained in:
Island
2025-10-21 12:02:27 +08:00
@@ -169,7 +169,7 @@ void gatt_free(void)
gatt_cb.sign_op_queue = NULL;
fixed_queue_free(gatt_cb.srv_chg_clt_q, NULL);
gatt_cb.srv_chg_clt_q = NULL;
fixed_queue_free(gatt_cb.pending_new_srv_start_q, NULL);
fixed_queue_free(gatt_cb.pending_new_srv_start_q, osi_free_func);
gatt_cb.pending_new_srv_start_q = NULL;
list_node_t *p_node = NULL;