From 8df9d690af8e30c6207799009f6cb7d169c56c1c Mon Sep 17 00:00:00 2001 From: Vineeth T M Date: Wed, 3 Sep 2014 11:46:13 +0530 Subject: [PATCH] gdkpixbufdec: free query after use In gst_gdk_pixbuf_dec_setup_pool(), query is being allocated using gst_query_new_allocation(), but the same is not unreferenced hence calling gst_query_unref() after usage of query. https://bugzilla.gnome.org/show_bug.cgi?id=735950 --- ext/gdk_pixbuf/gstgdkpixbufdec.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ext/gdk_pixbuf/gstgdkpixbufdec.c b/ext/gdk_pixbuf/gstgdkpixbufdec.c index 1a280fe..eb56d77c 100644 --- a/ext/gdk_pixbuf/gstgdkpixbufdec.c +++ b/ext/gdk_pixbuf/gstgdkpixbufdec.c @@ -246,6 +246,8 @@ gst_gdk_pixbuf_dec_setup_pool (GstGdkPixbufDec * filter, GstVideoInfo * info) min = max = 0; } + gst_query_unref (query); + if (pool == NULL) { /* we did not get a pool, make one ourselves then */ pool = gst_buffer_pool_new (); -- 2.7.4