mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-28 03:00:35 +00:00
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
This commit is contained in:
parent
9375e90203
commit
8df9d690af
1 changed files with 2 additions and 0 deletions
|
@ -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 ();
|
||||
|
|
Loading…
Reference in a new issue