From: Jan Schmidt Date: Fri, 30 Sep 2022 18:54:20 +0000 (+1000) Subject: gstiterator: Don't use gst_object_unref() for a GObject X-Git-Tag: 1.22.0~858 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b7b4d93452d7f6d53ec1e840690d9d80ad867243;p=platform%2Fupstream%2Fgstreamer.git 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: --- diff --git a/subprojects/gstreamer/gst/gstiterator.c b/subprojects/gstreamer/gst/gstiterator.c index 2ffad6b..af8d2b1 100644 --- a/subprojects/gstreamer/gst/gstiterator.c +++ b/subprojects/gstreamer/gst/gstiterator.c @@ -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); } /**