diff options
-rw-r--r-- | ChangeLog | 14 | ||||
-rw-r--r-- | gst/mpegdemux/mpegtsparse.c | 2 |
2 files changed, 16 insertions, 0 deletions
@@ -1,3 +1,17 @@ +2008-11-04 Zaheer Abbas Merali <zaheerabbas at merali dot org> + + patch by: Sebastian Pölsterl + + * gst/mpegdemux/mpegtsparse.c: + Fix memleak. + +2008-11-04 Zaheer Abbas Merali <zaheerabbas at merali dot org> + + based on patch by: Sebastian Pölsterl + + * sys/dvb/gstdvbsrc.c: + Fix memleak. + 2008-11-03 Jan Schmidt <jan.schmidt@sun.com> * examples/scaletempo/.cvsignore: diff --git a/gst/mpegdemux/mpegtsparse.c b/gst/mpegdemux/mpegtsparse.c index 18a6b435..bb14fb4d 100644 --- a/gst/mpegdemux/mpegtsparse.c +++ b/gst/mpegdemux/mpegtsparse.c @@ -250,6 +250,8 @@ mpegts_parse_reset (MpegTSParse * parse) /* PAT */ g_hash_table_insert (parse->psi_pids, GINT_TO_POINTER (0), GINT_TO_POINTER (1)); + if (parse->pat != NULL) + gst_structure_free (parse->pat); parse->pat = NULL; /* pmt pids will be added and removed dynamically */ |