summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--gst/id3demux/gstid3demux.c1
2 files changed, 6 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 7eb6e50c..4840d437 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
2007-05-25 Tim-Philipp Müller <tim at centricular dot net>
+ * gst/id3demux/gstid3demux.c: (gst_id3demux_sink_event):
+ Don't leak newsegment events.
+
+2007-05-25 Tim-Philipp Müller <tim at centricular dot net>
+
* gst/wavparse/Makefile.am:
Add '-lm' to LIBS for ceil(), don't assume one of our dependencies
drags it in.
diff --git a/gst/id3demux/gstid3demux.c b/gst/id3demux/gstid3demux.c
index 77bf0e46..0cf1de4a 100644
--- a/gst/id3demux/gstid3demux.c
+++ b/gst/id3demux/gstid3demux.c
@@ -694,6 +694,7 @@ gst_id3demux_sink_event (GstPad * pad, GstEvent * event)
arate, format, start, stop, position);
demux->newseg_update = update;
demux->need_newseg = TRUE;
+ gst_event_unref (event);
ret = TRUE;
break;
}