summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Pölsterl <sebp@k-d-w.org>2008-12-29 16:29:08 +0000
committerWim Taymans <wim.taymans@gmail.com>2008-12-29 16:29:08 +0000
commit21b795ef9e386b2b56f8fab9e04d4beddc85dcde (patch)
tree43d6c81162b79e0bbe4f2d0b064d65ba0a18950a
parentb4152f7308c248ebb5c106da67bd8c52212287e1 (diff)
gst/mpegdemux/mpegtspacketizer.c: Fix memleak. Fixes #565614.
Original commit message from CVS: Patch by: Sebastian Pölsterl <sebp at k-d-w dot org> * gst/mpegdemux/mpegtspacketizer.c: (mpegts_packetizer_parse_eit): Fix memleak. Fixes #565614.
-rw-r--r--ChangeLog7
-rw-r--r--gst/mpegdemux/mpegtspacketizer.c1
2 files changed, 8 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index e6d5924cf..f6e519ec4 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -2,6 +2,13 @@
Patch by: Sebastian Pölsterl <sebp at k-d-w dot org>
+ * gst/mpegdemux/mpegtspacketizer.c: (mpegts_packetizer_parse_eit):
+ Fix memleak. Fixes #565614.
+
+2008-12-29 Wim Taymans <wim.taymans@collabora.co.uk>
+
+ Patch by: Sebastian Pölsterl <sebp at k-d-w dot org>
+
* gst/mpegdemux/mpegtspacketizer.c: (mpegts_packetizer_parse_sdt):
Add a scrambled field to the service structures retrieved from SDT to
determine if a channel is scrambled. Fixes #565613.
diff --git a/gst/mpegdemux/mpegtspacketizer.c b/gst/mpegdemux/mpegtspacketizer.c
index 2c0b946d7..ea093c439 100644
--- a/gst/mpegdemux/mpegtspacketizer.c
+++ b/gst/mpegdemux/mpegtspacketizer.c
@@ -1771,6 +1771,7 @@ mpegts_packetizer_parse_eit (MpegTSPacketizer * packetizer,
}
}
gst_structure_set_value (event, "components", &components);
+ g_value_unset (&components);
g_array_free (component_descriptors, TRUE);
}
gst_mpeg_descriptor_free (mpegdescriptor);