mirror of
https://github.com/espressif/esp-idf.git
synced 2025-09-30 19:19:21 +00:00
compoent/bt: Fix the bug when do the BLE pressure test will lead to memory leak will appear WDT.
This commit is contained in:
@@ -861,7 +861,7 @@ tGATTS_SRV_CHG *gatt_is_bda_in_the_srv_chg_clt_list (BD_ADDR bda)
|
||||
list_t *list = fixed_queue_get_list(gatt_cb.srv_chg_clt_q);
|
||||
for (const list_node_t *node = list_begin(list); node != list_end(list);
|
||||
node = list_next(node)) {
|
||||
tGATTS_SRV_CHG *p_buf = (tGATTS_SRV_CHG *)list_node(node);
|
||||
p_buf = (tGATTS_SRV_CHG *)list_node(node);
|
||||
if (!memcmp( bda, p_buf->bda, BD_ADDR_LEN)) {
|
||||
GATT_TRACE_DEBUG("bda is in the srv chg clt list");
|
||||
break;
|
||||
|
Reference in New Issue
Block a user