From 71be79f668298173051ea9978af114acaeaf801b Mon Sep 17 00:00:00 2001 From: Zaheer Merali Date: Sat, 18 Apr 2009 23:42:57 +0100 Subject: [PATCH] mpegtsparse: fix leak of GST_TYPE_LIST gvalue --- gst/mpegdemux/mpegtspacketizer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gst/mpegdemux/mpegtspacketizer.c b/gst/mpegdemux/mpegtspacketizer.c index 3768332..923283d 100644 --- a/gst/mpegdemux/mpegtspacketizer.c +++ b/gst/mpegdemux/mpegtspacketizer.c @@ -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; -- 2.7.4