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.
This commit is contained in:
Tim-Philipp Müller 2007-05-25 20:51:36 +00:00
parent fefb7bfa6d
commit da0da24565
2 changed files with 6 additions and 0 deletions

View file

@ -1,3 +1,8 @@
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:

View file

@ -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;
}