libs/gst/base/gstbasetransform.c: Unref events that the GstBaseTransform::event vfunc didn't want to have forwarded b...

Original commit message from CVS:
Patch by: Tim-Philipp Müller  <tim.muller at collabora co uk>
* libs/gst/base/gstbasetransform.c:
(gst_base_transform_sink_event):
Unref events that the GstBaseTransform::event vfunc didn't want to
have forwarded by the base class. Closes a leak in identity.
Fixes bug #446763.
This commit is contained in:
Tim-Philipp Müller 2008-05-20 08:28:24 +00:00 committed by Sebastian Dröge
parent b6286c0edc
commit b4636b46bb
2 changed files with 12 additions and 0 deletions

View file

@ -1,3 +1,13 @@
2008-05-20 Sebastian Dröge <slomo@circular-chaos.org>
Patch by: Tim-Philipp Müller <tim.muller at collabora co uk>
* libs/gst/base/gstbasetransform.c:
(gst_base_transform_sink_event):
Unref events that the GstBaseTransform::event vfunc didn't want to
have forwarded by the base class. Closes a leak in identity.
Fixes bug #446763.
2008-05-19 Wim Taymans <wim.taymans@collabora.co.uk>
* docs/libs/gstreamer-libs-sections.txt:

View file

@ -1263,6 +1263,8 @@ gst_base_transform_sink_event (GstPad * pad, GstEvent * event)
* something different. */
if (forward)
ret = gst_pad_push_event (trans->srcpad, event);
else
gst_event_unref (event);
gst_object_unref (trans);