Merge branch 'backport_v4.3' into 'release/v4.3'

fix(bt/bluedroid): Fix memory no free issue when disconneting for mesh(backport v4.3)

See merge request espressif/esp-idf!25862
This commit is contained in:
Island
2023-09-08 21:41:22 +08:00

View File

@@ -1615,6 +1615,7 @@ static void bt_mesh_bta_gattc_cb(tBTA_GATTC_EVT event, tBTA_GATTC *p_data)
}
break;
case BTA_GATTC_CLOSE_EVT:
bta_gattc_clcb_dealloc_by_conn_id(p_data->close.conn_id);
BT_DBG("BTA_GATTC_CLOSE_EVT");
break;
case BTA_GATTC_CONNECT_EVT: {