summaryrefslogtreecommitdiffstats
path: root/gst
diff options
context:
space:
mode:
authorZaheer Merali <zaheerabbas@merali.org>2009-04-18 23:42:57 +0100
committerZaheer Merali <zaheerabbas@merali.org>2009-04-18 23:42:57 +0100
commit71be79f668298173051ea9978af114acaeaf801b (patch)
tree9f4cc297f41caa500b9ed97ee678bed17cc876a1 /gst
parentc9ae67fac9fd5e58d565b38902de5f1e0eb3948f (diff)
downloadgst-plugins-bad-71be79f668298173051ea9978af114acaeaf801b.tar.gz
gst-plugins-bad-71be79f668298173051ea9978af114acaeaf801b.tar.bz2
gst-plugins-bad-71be79f668298173051ea9978af114acaeaf801b.zip
mpegtsparse: fix leak of GST_TYPE_LIST gvalue
Diffstat (limited to 'gst')
-rw-r--r--gst/mpegdemux/mpegtspacketizer.c2
1 files changed, 1 insertions, 1 deletions
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;