From 71be79f668298173051ea9978af114acaeaf801b Mon Sep 17 00:00:00 2001 From: Zaheer Merali Date: Sat, 18 Apr 2009 23:42:57 +0100 Subject: mpegtsparse: fix leak of GST_TYPE_LIST gvalue --- gst/mpegdemux/mpegtspacketizer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gst') diff --git a/gst/mpegdemux/mpegtspacketizer.c b/gst/mpegdemux/mpegtspacketizer.c index 37683322..923283d7 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; -- cgit v1.2.1