mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-17 11:45:25 +00:00
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
1 changed files with 1 additions and 0 deletions
|
@ -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…
Reference in a new issue