mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-19 20:46:22 +00:00
asfmux: Don't leak bytereader
By making it go through the error path that takes care of cleanups CID #1212168
This commit is contained in:
parent
2d0a791348
commit
6baeb94dce
1 changed files with 1 additions and 1 deletions
|
@ -597,7 +597,7 @@ gst_asf_parse_packet_from_data (guint8 * data, gsize size, GstBuffer * buffer,
|
||||||
if (first & 0x60) {
|
if (first & 0x60) {
|
||||||
GST_ERROR ("Error correction data length should be "
|
GST_ERROR ("Error correction data length should be "
|
||||||
"set to 0 and is reserved for future use.");
|
"set to 0 and is reserved for future use.");
|
||||||
return FALSE;
|
goto error;
|
||||||
}
|
}
|
||||||
err_cor_len = (first & 0x0F);
|
err_cor_len = (first & 0x0F);
|
||||||
err_length += err_cor_len;
|
err_length += err_cor_len;
|
||||||
|
|
Loading…
Reference in a new issue