From da0da24565c0ed6c4d145c2c867c14b8021aab24 Mon Sep 17 00:00:00 2001 From: Tim-Philipp Müller Date: Fri, 25 May 2007 20:51:36 +0000 Subject: 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. --- gst/id3demux/gstid3demux.c | 1 + 1 file changed, 1 insertion(+) (limited to 'gst/id3demux') 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; } -- cgit