gst/playback/gststreamselector.c: Don't leak event.

Original commit message from CVS:
* gst/playback/gststreamselector.c: (gst_selector_pad_event):
Don't leak event.
This commit is contained in:
Tim-Philipp Müller 2007-12-21 22:26:47 +00:00
parent 169259294f
commit 032e064516
2 changed files with 7 additions and 0 deletions

View file

@ -1,3 +1,8 @@
2007-12-21 Tim-Philipp Müller <tim at centricular dot net>
* gst/playback/gststreamselector.c: (gst_selector_pad_event):
Don't leak event.
2007-12-20 Thijs Vermeir <thijsvermeir@gmail.com>
* gst-libs/gst/riff/riff-read.c:

View file

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