mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-30 20:59:44 +00:00
mpegtsparse: fix leak of GST_TYPE_LIST gvalue
This commit is contained in:
parent
c9ae67fac9
commit
71be79f668
1 changed files with 1 additions and 1 deletions
|
@ -1056,12 +1056,12 @@ mpegts_packetizer_parse_nit (MpegTSPacketizer * packetizer,
|
|||
GValue frequencies = { 0 };
|
||||
guint8 type;
|
||||
|
||||
g_value_init (&frequencies, GST_TYPE_LIST);
|
||||
type = *current_pos & 0x03;
|
||||
current_pos++;
|
||||
|
||||
if (type) {
|
||||
const gchar *fieldname = NULL;
|
||||
g_value_init (&frequencies, GST_TYPE_LIST);
|
||||
|
||||
while (current_pos < delivery + DESC_LENGTH (delivery) - 3) {
|
||||
guint32 freq = 0;
|
||||
|
|
Loading…
Reference in a new issue