mirror of
https://gitlab.freedesktop.org/pipewire/wireplumber.git
synced 2026-05-05 06:38:01 +02:00
object-manager: fix iterator fold object access
This commit is contained in:
parent
5dfe688c35
commit
564e8a0db3
1 changed files with 1 additions and 1 deletions
|
|
@ -370,7 +370,7 @@ om_iterator_fold (WpIterator *it, WpIteratorFoldFunc func, GValue *ret,
|
|||
while ((obj - base) < len) {
|
||||
/* only pass matching objects to the fold func if we have an interest */
|
||||
if (!it_data->interest ||
|
||||
wp_object_interest_matches (it_data->interest, obj)) {
|
||||
wp_object_interest_matches (it_data->interest, *obj)) {
|
||||
g_auto (GValue) item = G_VALUE_INIT;
|
||||
g_value_init_from_instance (&item, *obj);
|
||||
if (!func (&item, ret, data))
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue