mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 06:54:49 +00:00
GESTrackObject: Fix leak when iterating elements
We *always* need to unref elements and not just when they're effects
This commit is contained in:
parent
92ce17285b
commit
44795fe51c
1 changed files with 1 additions and 1 deletions
|
@ -141,13 +141,13 @@ ges_track_effect_get_props_hashtable (GESTrackObject * self)
|
||||||
|
|
||||||
GST_DEBUG ("%i configurable properties added to %p", child,
|
GST_DEBUG ("%i configurable properties added to %p", child,
|
||||||
nb_specs);
|
nb_specs);
|
||||||
gst_object_unref (child);
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
i++;
|
i++;
|
||||||
categorie = categories[i];
|
categorie = categories[i];
|
||||||
}
|
}
|
||||||
g_strfreev (categories);
|
g_strfreev (categories);
|
||||||
|
gst_object_unref (child);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case GST_ITERATOR_RESYNC:
|
case GST_ITERATOR_RESYNC:
|
||||||
|
|
Loading…
Reference in a new issue