mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 14:26:43 +00:00
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:
parent
169259294f
commit
032e064516
2 changed files with 7 additions and 0 deletions
|
@ -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:
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue