summaryrefslogtreecommitdiffstats
path: root/gst/id3demux
diff options
context:
space:
mode:
authorTim-Philipp Müller <tim@centricular.net>2007-05-25 20:51:36 +0000
committerTim-Philipp Müller <tim@centricular.net>2007-05-25 20:51:36 +0000
commitda0da24565c0ed6c4d145c2c867c14b8021aab24 (patch)
treedfc89ebf2468dda4864bc45493ece547161bdee4 /gst/id3demux
parentfefb7bfa6d2964a3aca09409dc53d769e4faf095 (diff)
gst/id3demux/gstid3demux.c: Don't leak newsegment events.
Original commit message from CVS: * gst/id3demux/gstid3demux.c: (gst_id3demux_sink_event): Don't leak newsegment events.
Diffstat (limited to 'gst/id3demux')
-rw-r--r--gst/id3demux/gstid3demux.c1
1 files changed, 1 insertions, 0 deletions
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;
}