From 6eff4f8d8152f17734c22b8f9879b2eb23ef4bd2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim-Philipp=20M=C3=BCller?= Date: Fri, 15 Sep 2017 20:34:28 +0100 Subject: [PATCH] mssdemux: fix caps leak in error code path https://bugzilla.gnome.org/show_bug.cgi?id=787736 --- ext/smoothstreaming/gstmssdemux.c | 1 + 1 file changed, 1 insertion(+) diff --git a/ext/smoothstreaming/gstmssdemux.c b/ext/smoothstreaming/gstmssdemux.c index 7c16fd3fc8..85f0ec89a7 100644 --- a/ext/smoothstreaming/gstmssdemux.c +++ b/ext/smoothstreaming/gstmssdemux.c @@ -580,6 +580,7 @@ gst_mss_demux_stream_select_bitrate (GstAdaptiveDemuxStream * stream, if (!selected_system) { GST_ERROR_OBJECT (mssdemux, "stream is protected, but no " "suitable decryptor element has been found"); + gst_caps_unref (caps); return FALSE; }