gst/mpegdemux/mpegtsparse.c: Fix memleak.

Original commit message from CVS:
patch by: Sebastian Pölsterl
* gst/mpegdemux/mpegtsparse.c:
Fix memleak.
This commit is contained in:
Sebastian Pölsterl 2008-11-04 08:24:10 +00:00 committed by Zaheer Abbas Merali
parent ee126d1c7b
commit e199d5b587
2 changed files with 16 additions and 0 deletions

View file

@ -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:

View file

@ -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 */