From 89b6b1a76077404b126c11ef59562f455a6ba939 Mon Sep 17 00:00:00 2001 From: Chris Bass Date: Wed, 22 Mar 2017 10:41:44 +0000 Subject: [PATCH] ttmlparse: don't leak caps. https://bugzilla.gnome.org/show_bug.cgi?id=780402 --- ext/ttml/gstttmlparse.c | 1 + 1 file changed, 1 insertion(+) diff --git a/ext/ttml/gstttmlparse.c b/ext/ttml/gstttmlparse.c index 38f3fba48f..9bc05c0e12 100644 --- a/ext/ttml/gstttmlparse.c +++ b/ext/ttml/gstttmlparse.c @@ -463,6 +463,7 @@ handle_buffer (GstTtmlParse * self, GstBuffer * buf) if (!(caps = gst_ttml_parse_get_src_caps (self))) return GST_FLOW_EOS; + gst_caps_unref (caps); /* Push newsegment if needed */ if (self->need_segment) {