mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-28 11:10:37 +00:00
matroskademux: don't leak doctype string in error code path
CID 1212145.
This commit is contained in:
parent
eb30edae9f
commit
341b691b18
1 changed files with 1 additions and 1 deletions
|
@ -1213,7 +1213,7 @@ gst_matroska_read_common_parse_header (GstMatroskaReadCommon * common,
|
|||
if (num != GST_EBML_VERSION) {
|
||||
GST_ERROR_OBJECT (ebml, "Unsupported EBML version %" G_GUINT64_FORMAT,
|
||||
num);
|
||||
return GST_FLOW_ERROR;
|
||||
goto exit_error;
|
||||
}
|
||||
|
||||
GST_DEBUG_OBJECT (ebml, "EbmlReadVersion: %" G_GUINT64_FORMAT, num);
|
||||
|
|
Loading…
Reference in a new issue