diff options
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | sys/dvb/camutils.c | 3 |
2 files changed, 7 insertions, 3 deletions
@@ -1,6 +1,13 @@ 2008-02-27 Zaheer Abbas Merali <zaheerabbas at merali dot org> * sys/dvb/camutils.c: + Don't free the program descriptors, this structure + containing them is stills tored after. + Fixes data corruption. + +2008-02-27 Zaheer Abbas Merali <zaheerabbas at merali dot org> + + * sys/dvb/camutils.c: Extra checks to prevent data corruption/segfaults. 2008-02-26 Stefan Kost <ensonic@users.sf.net> diff --git a/sys/dvb/camutils.c b/sys/dvb/camutils.c index b58eca1a..7e70aa26 100644 --- a/sys/dvb/camutils.c +++ b/sys/dvb/camutils.c @@ -289,9 +289,6 @@ cam_build_ca_pmt (GstStructure * pmt, guint8 list_management, guint8 cmd_id, body = write_ca_descriptors (body, program_descriptors); } - if (program_descriptors) - g_value_array_free (program_descriptors); - for (i = 0; i < gst_value_list_get_size (streams); ++i) { guint stream_type; guint stream_pid; |