GNOME Bugzilla – Bug 598139
faad element leaks itself.
Last modified: 2009-10-13 14:03:01 UTC
Hi, I noticed that the faad element takes a reference to itself at the top of the gst_faad_setcaps function (via the gst_pad_get_parent function). As far as I can tell it never releases that reference again. I've attached a patch to fix the problem. -- Peter Christoffersen
Attachment didn't arrive. You're right that it leaks.
Created attachment 145288 [details] [review] Fix object leak in faad element Sorry, Here is the patch. It's pretty trivial, I just added gst_object_unref to all exit points of the gst_faad_setcaps function.
commit 7eb553e2debfd279d6b1b6fc95b90cdce14d7010 Author: Peter Christoffersen <gnome-bugzilla@plyt.dk> Date: Tue Oct 13 16:01:26 2009 +0200 faad2: Don't leak element reference in the setcaps function Fixes bug #598139.