debugutils: Unref pad template after use
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=733121
This commit is contained in:
parent
c7aa4e6a5f
commit
4dca9a79a2
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user