mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
ble_mesh: fix canceled buffer memory leak
This commit is contained in:
parent
2afc9b820d
commit
f449cb7843
@ -189,6 +189,8 @@ static void adv_thread(void *p)
|
||||
BT_ERR("%s, xQueueSendToFront failed", __func__);
|
||||
}
|
||||
}
|
||||
} else {
|
||||
net_buf_unref(*buf);
|
||||
}
|
||||
|
||||
/* Give other threads a chance to run */
|
||||
|
Loading…
Reference in New Issue
Block a user