mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 03:56:16 +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 };
|
GValue frequencies = { 0 };
|
||||||
guint8 type;
|
guint8 type;
|
||||||
|
|
||||||
g_value_init (&frequencies, GST_TYPE_LIST);
|
|
||||||
type = *current_pos & 0x03;
|
type = *current_pos & 0x03;
|
||||||
current_pos++;
|
current_pos++;
|
||||||
|
|
||||||
if (type) {
|
if (type) {
|
||||||
const gchar *fieldname = NULL;
|
const gchar *fieldname = NULL;
|
||||||
|
g_value_init (&frequencies, GST_TYPE_LIST);
|
||||||
|
|
||||||
while (current_pos < delivery + DESC_LENGTH (delivery) - 3) {
|
while (current_pos < delivery + DESC_LENGTH (delivery) - 3) {
|
||||||
guint32 freq = 0;
|
guint32 freq = 0;
|
||||||
|
|
Loading…
Reference in a new issue