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:
Łukasz Rymanowski
2019-07-24 10:22:27 +02:00
committed by Szymon Janc
parent 6039e4a2b4
commit 7d2ba57141
+1
View File
@@ -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
/**