[gstreamer-bugs] [Bug 491501] Reduce usage of base_init in GstElement subclasses

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Tue Jan 29 06:45:15 PST 2008


If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
  http://bugzilla.gnome.org/show_bug.cgi?id=491501

  GStreamer | gstreamer (core) | Ver: HEAD CVS




------- Comment #27 from Sebastian Dröge  2008-01-29 14:45 UTC -------
Ok, found the reason why there is no memory leak before. The pad templates are
always listed under "still reachable" by valgrind after exit as the classes are
never destructed. So in my case, either unref twice when replacing or don't ref
when adding... I prefer the latter as is done in the patch ;)


-- 
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.

You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=491501.




More information about the Gstreamer-bugs mailing list