commit fff6c97e996eb5a711afa47501eb5a46d4a88e11
parent 1df4cb5be718689ae730323b9d2526f9e5d470cb
Author: Andrew Zaborowski <andrew.zaborowski@intel.com>
Date: Tue, 4 Feb 2020 12:23:05 +0100
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.
Diffstat:
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/src/frame-xchg.c b/src/frame-xchg.c
@@ -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;
}