matroskademux: don't leak doctype string in error code path

CID 1212145.
This commit is contained in:
Tim-Philipp Müller 2014-05-09 14:22:42 +01:00 committed by Edward Hervey
parent eb30edae9f
commit 341b691b18

View file

@ -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);