summaryrefslogtreecommitdiff
path: root/gst-libs
diff options
context:
space:
mode:
authorEdward Hervey <bilboed@bilboed.com>2014-05-09 14:31:57 +0200
committerEdward Hervey <bilboed@bilboed.com>2014-05-09 14:32:49 +0200
commit2b927091547c25a4aebd2ca26439a74cd93ef74e (patch)
tree9f4e6960952fb9686d7034c7a575afe9b3b000f0 /gst-libs
parent2dcbf08d735e19ea72d8f0b7b6658d9a82b78425 (diff)
downloadgstreamer-plugins-bad-2b927091547c25a4aebd2ca26439a74cd93ef74e.tar.gz
mpegts: Fix leak
The cell extension was never added to the parent cell CID #1212162
Diffstat (limited to 'gst-libs')
-rw-r--r--gst-libs/gst/mpegts/gst-dvb-descriptor.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gst-libs/gst/mpegts/gst-dvb-descriptor.c b/gst-libs/gst/mpegts/gst-dvb-descriptor.c
index f0cd62a34..279a9a967 100644
--- a/gst-libs/gst/mpegts/gst-dvb-descriptor.c
+++ b/gst-libs/gst/mpegts/gst-dvb-descriptor.c
@@ -1661,6 +1661,7 @@ gst_mpegts_descriptor_parse_dvb_t2_delivery_system (const GstMpegTsDescriptor
GstMpegTsT2DeliverySystemCellExtension *cell_ext;
cell_ext = g_slice_new0 (GstMpegTsT2DeliverySystemCellExtension);
+ g_ptr_array_add (cell->sub_cells, cell_ext);
cell_ext->cell_id_extension = *data;
data += 1;