diff options
author | Tim-Philipp Müller <tim@centricular.com> | 2017-09-15 20:34:28 +0100 |
---|---|---|
committer | Tim-Philipp Müller <tim@centricular.com> | 2017-09-15 20:34:28 +0100 |
commit | 6eff4f8d8152f17734c22b8f9879b2eb23ef4bd2 (patch) | |
tree | 8a77e16005e45d406ef1280f6b6786d7ad5f6d06 /ext/smoothstreaming | |
parent | 085f875a249ba73cf24e42c72ba811ab461efa6d (diff) | |
download | gstreamer-plugins-bad-6eff4f8d8152f17734c22b8f9879b2eb23ef4bd2.tar.gz |
mssdemux: fix caps leak in error code path
https://bugzilla.gnome.org/show_bug.cgi?id=787736
Diffstat (limited to 'ext/smoothstreaming')
-rw-r--r-- | ext/smoothstreaming/gstmssdemux.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/smoothstreaming/gstmssdemux.c b/ext/smoothstreaming/gstmssdemux.c index 7c16fd3fc..85f0ec89a 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; } |