summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog14
-rw-r--r--gst/mpegdemux/mpegtsparse.c2
2 files changed, 16 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index ef17da36..c6e2198c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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 */