From: Matthew Waters Date: Tue, 3 Mar 2020 00:43:48 +0000 (+1100) Subject: glfilter: use gst_object_unref/ref functions X-Git-Tag: 1.19.3~511^2~754 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3df7edaa4990285e0b635eda5c0c0bb34e1961d0;p=platform%2Fupstream%2Fgstreamer.git glfilter: use gst_object_unref/ref functions Allows better visibility into ref/unref points with the leaks tracer --- diff --git a/gst-libs/gst/gl/gstglfilter.c b/gst-libs/gst/gl/gstglfilter.c index 1175509..d555e4b 100644 --- a/gst-libs/gst/gl/gstglfilter.c +++ b/gst-libs/gst/gl/gstglfilter.c @@ -831,14 +831,14 @@ gst_gl_filter_propose_allocation (GstBaseTransform * trans, gst_buffer_pool_config_set_params (config, caps, size, 0, 0); if (!gst_buffer_pool_set_config (pool, config)) { - g_object_unref (pool); + gst_object_unref (pool); goto config_failed; } } gst_query_add_allocation_pool (query, pool, size, 1, 0); if (pool) - g_object_unref (pool); + gst_object_unref (pool); if (context->gl_vtable->FenceSync) gst_query_add_allocation_meta (query, GST_GL_SYNC_META_API_TYPE, 0);