diff --git a/ext/gdk_pixbuf/gstgdkpixbufdec.c b/ext/gdk_pixbuf/gstgdkpixbufdec.c index 1a280fe1c9..eb56d77c4c 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 ();