summaryrefslogtreecommitdiff
path: root/gst/frei0r/gstfrei0rsrc.c
diff options
context:
space:
mode:
Diffstat (limited to 'gst/frei0r/gstfrei0rsrc.c')
-rw-r--r--gst/frei0r/gstfrei0rsrc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gst/frei0r/gstfrei0rsrc.c b/gst/frei0r/gstfrei0rsrc.c
index e5cf41205..eb3c010fd 100644
--- a/gst/frei0r/gstfrei0rsrc.c
+++ b/gst/frei0r/gstfrei0rsrc.c
@@ -348,6 +348,7 @@ gst_frei0r_src_class_init (GstFrei0rSrcClass * klass,
templ = gst_pad_template_new ("src", GST_PAD_SRC, GST_PAD_ALWAYS, caps);
gst_element_class_add_pad_template (gstelement_class, templ);
+ gst_caps_unref (caps);
gstbasesrc_class->set_caps = GST_DEBUG_FUNCPTR (gst_frei0r_src_set_caps);
gstbasesrc_class->is_seekable =