mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
fix(bt/bluedroid): Fix memory no free issue when disconneting for mesh
This commit is contained in:
parent
7bc232a647
commit
3acf19d9f9
@ -1615,6 +1615,7 @@ static void bt_mesh_bta_gattc_cb(tBTA_GATTC_EVT event, tBTA_GATTC *p_data)
|
|||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case BTA_GATTC_CLOSE_EVT:
|
case BTA_GATTC_CLOSE_EVT:
|
||||||
|
bta_gattc_clcb_dealloc_by_conn_id(p_data->close.conn_id);
|
||||||
BT_DBG("BTA_GATTC_CLOSE_EVT");
|
BT_DBG("BTA_GATTC_CLOSE_EVT");
|
||||||
break;
|
break;
|
||||||
case BTA_GATTC_CONNECT_EVT: {
|
case BTA_GATTC_CONNECT_EVT: {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user