mirror of
https://github.com/espressif/esp-idf.git
synced 2026-04-27 19:13:21 +00:00
fix(ble/bluedroid): fix memory leak during deinit when service table is created but not started
(cherry picked from commit ddd12f2498282e147044d1fe532a51aeb18875f9) Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user