frame-watch: Fix an l_queue_foreach_remove call
A pointer to the wdev_id is expected in this call inside frame_watch_group_remove_wdev instead of a pointer to the pointer.
This commit is contained in:
parent
1df4cb5be7
commit
fff6c97e99
|
@ -375,8 +375,7 @@ static bool frame_watch_group_remove_wdev(void *data, void *user_data)
|
|||
* internals.
|
||||
*/
|
||||
l_queue_foreach_remove(group->watches.items,
|
||||
frame_watch_item_remove_wdev,
|
||||
&wdev_id);
|
||||
frame_watch_item_remove_wdev, user_data);
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue