[gstreamer-bugs] [Bug 338184] don't leak element in _chain()

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Wed Apr 12 01:48:51 PDT 2006


Do not reply to this via email (we are currently unable to handle email
responses and they get discarded).  You can add comments to this bug at
http://bugzilla.gnome.org/show_bug.cgi?id=338184
 GStreamer | gst-plugins-base | Ver: HEAD CVS


Tim-Philipp Müller changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #63288|none                        |commented-on
               Flag|                            |




------- Comment #3 from Tim-Philipp Müller  2006-04-12 08:48 UTC -------
My copy of theoraenc.c has:

 static GstFlowReturn
 theora_enc_chain (GstPad * pad, GstBuffer * buffer)
 {
   ...
   enc = GST_THEORA_ENC (GST_PAD_PARENT (pad));
   ...
 }

GST_PAD_PARENT doesn't add a reference, so there's no need for a
gst_object_unref(enc) either at the end, is there?


-- 
Configure bugmail: http://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.




More information about the Gstreamer-bugs mailing list