mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-30 13:41:48 +00:00
mpegtssection: Free data in error cases
Data is marked as "transfer full", if we have an error we need to free it.
This commit is contained in:
parent
720405b561
commit
cddabd751c
1 changed files with 1 additions and 0 deletions
|
@ -1223,6 +1223,7 @@ short_packet:
|
|||
GST_WARNING
|
||||
("PID 0x%04x section extends past provided data (got:%" G_GSIZE_FORMAT
|
||||
", need:%d)", pid, data_size, section_length + 3);
|
||||
g_free (data);
|
||||
return NULL;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue