Commit 6baeb94d authored by Edward Hervey's avatar Edward Hervey

asfmux: Don't leak bytereader

By making it go through the error path that takes care of cleanups

CID #1212168
parent 2d0a7913
......@@ -597,7 +597,7 @@ gst_asf_parse_packet_from_data (guint8 * data, gsize size, GstBuffer * buffer,
if (first & 0x60) {
GST_ERROR ("Error correction data length should be "
"set to 0 and is reserved for future use.");
return FALSE;
goto error;
err_cor_len = (first & 0x0F);
err_length += err_cor_len;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment