diff --git a/ChangeLog b/ChangeLog index a76d099313..6226377447 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2007-12-21 Tim-Philipp Müller + + * gst/playback/gststreamselector.c: (gst_selector_pad_event): + Don't leak event. + 2007-12-20 Thijs Vermeir * gst-libs/gst/riff/riff-read.c: diff --git a/gst/playback/gststreamselector.c b/gst/playback/gststreamselector.c index c2db8e2e62..86ced9f825 100644 --- a/gst/playback/gststreamselector.c +++ b/gst/playback/gststreamselector.c @@ -237,6 +237,8 @@ gst_selector_pad_event (GstPad * pad, GstEvent * event) } if (forward) res = gst_pad_push_event (sel->srcpad, event); + else + gst_event_unref (event); gst_object_unref (sel);