mirror of
https://github.com/espressif/esp-nimble.git
synced 2026-09-24 18:07:22 +00:00
nimble/ll: Remove pointer to unreferenced aux_data
When removing aux scheduler entry from the scheduler, make sure to remove the reference to the aux_data.
This commit is contained in:
committed by
Szymon Janc
parent
6039e4a2b4
commit
7d2ba57141
@@ -1171,6 +1171,7 @@ static void
|
||||
ble_ll_scan_sched_remove(struct ble_ll_sched_item *sch)
|
||||
{
|
||||
ble_ll_scan_aux_data_unref(sch->cb_arg);
|
||||
sch->cb_arg = NULL;
|
||||
}
|
||||
#endif
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user