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:
c7aa4e6
)
debugutils: Unref pad template after use
author
Sebastian Rasmussen
<sebras@hotmail.com>
Sat, 12 Jul 2014 15:01:23 +0000
(17:01 +0200)
committer
Sebastian Dröge
<sebastian@centricular.com>
Wed, 16 Jul 2014 14:44:11 +0000
(16:44 +0200)
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=733121
gst/gstdebugutils.c
patch
|
blob
|
history
diff --git
a/gst/gstdebugutils.c
b/gst/gstdebugutils.c
index 7b3ebf9c15fbb03a28f59ae2efb4e0dc9f0aa0f2..96901c3508e960c14b729ee2369ece8f6282fc95 100644
(file)
--- a/
gst/gstdebugutils.c
+++ b/
gst/gstdebugutils.c
@@
-154,6
+154,7
@@
debug_dump_pad (GstPad * pad, const gchar * color_name,
style_name = "filled,solid";
if ((pad_templ = gst_pad_get_pad_template (pad))) {
presence = GST_PAD_TEMPLATE_PRESENCE (pad_templ);
+ gst_object_unref (pad_templ);
if (presence == GST_PAD_SOMETIMES) {
style_name = "filled,dotted";
} else if (presence == GST_PAD_REQUEST) {