mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-28 20:05:38 +00:00
mssdemux: fix caps leak in error code path
https://bugzilla.gnome.org/show_bug.cgi?id=787736
This commit is contained in:
parent
085f875a24
commit
6eff4f8d81
1 changed files with 1 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue