projects
/
platform
/
upstream
/
gst-plugins-good.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9375e90
)
gdkpixbufdec: free query after use
author
Vineeth T M
<vineeth.tm@samsung.com>
Wed, 3 Sep 2014 06:16:13 +0000
(11:46 +0530)
committer
Tim-Philipp Müller
<tim@centricular.com>
Wed, 3 Sep 2014 21:36:01 +0000
(22:36 +0100)
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
patch
|
blob
|
history
diff --git
a/ext/gdk_pixbuf/gstgdkpixbufdec.c
b/ext/gdk_pixbuf/gstgdkpixbufdec.c
index
1a280fe
..
eb56d77
100644
(file)
--- 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 ();