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:
Jan Schmidt 2022-10-01 04:54:20 +10:00 committed by GStreamer Marge Bot
parent fb09c028e3
commit b7b4d93452

View file

@ -212,7 +212,7 @@ static void
gst_list_iterator_free (GstListIterator * it)
{
if (it->owner)
gst_object_unref (it->owner);
g_object_unref (it->owner);
}
/**