aboutsummaryrefslogtreecommitdiff
path: root/gst/gstdebugutils.c
diff options
context:
space:
mode:
Diffstat (limited to 'gst/gstdebugutils.c')
-rw-r--r--gst/gstdebugutils.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gst/gstdebugutils.c b/gst/gstdebugutils.c
index 7b3ebf9..96901c3 100644
--- 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) {