projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8952116
)
jpegdec: fix peer_caps leak
author
Nicola Murino
<nicola.murino@gmail.com>
Wed, 21 Dec 2011 19:50:21 +0000
(20:50 +0100)
committer
Thiago Santos
<thiago.sousa.santos@collabora.com>
Mon, 26 Dec 2011 18:34:47 +0000
(15:34 -0300)
https://bugzilla.gnome.org/show_bug.cgi?id=666688
ext/jpeg/gstjpegdec.c
patch
|
blob
|
history
diff --git
a/ext/jpeg/gstjpegdec.c
b/ext/jpeg/gstjpegdec.c
index
fe5652b
..
18cf20d
100644
(file)
--- a/
ext/jpeg/gstjpegdec.c
+++ b/
ext/jpeg/gstjpegdec.c
@@
-808,7
+808,7
@@
gst_jpeg_dec_getcaps (GstPad * pad)
templ_caps = gst_pad_get_pad_template_caps (pad);
caps = gst_caps_intersect_full (peer_caps, templ_caps,
GST_CAPS_INTERSECT_FIRST);
-
+ gst_caps_unref (peer_caps);
gst_object_unref (peer);
} else {
caps = gst_caps_copy (gst_pad_get_pad_template_caps (pad));