mpegts: Fix leak

The cell extension was never added to the parent cell

CID #1212162
This commit is contained in:
Edward Hervey 2014-05-09 14:31:57 +02:00
parent 2dcbf08d73
commit 2b92709154

View file

@ -1661,6 +1661,7 @@ gst_mpegts_descriptor_parse_dvb_t2_delivery_system (const GstMpegTsDescriptor
GstMpegTsT2DeliverySystemCellExtension *cell_ext; GstMpegTsT2DeliverySystemCellExtension *cell_ext;
cell_ext = g_slice_new0 (GstMpegTsT2DeliverySystemCellExtension); cell_ext = g_slice_new0 (GstMpegTsT2DeliverySystemCellExtension);
g_ptr_array_add (cell->sub_cells, cell_ext);
cell_ext->cell_id_extension = *data; cell_ext->cell_id_extension = *data;
data += 1; data += 1;