mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +00:00
gstiterator: Don't use gst_object_unref() for a GObject
The owner of a GstIterator is a plain GObject. Don't unref it with gst_object_unref(), or it will be logged in tracer info incorrectly. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3101>
This commit is contained in:
parent
fb09c028e3
commit
b7b4d93452
1 changed files with 1 additions and 1 deletions
|
@ -212,7 +212,7 @@ static void
|
||||||
gst_list_iterator_free (GstListIterator * it)
|
gst_list_iterator_free (GstListIterator * it)
|
||||||
{
|
{
|
||||||
if (it->owner)
|
if (it->owner)
|
||||||
gst_object_unref (it->owner);
|
g_object_unref (it->owner);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in a new issue