GNOME Bugzilla – Bug 752206
element: pad leak during failures.
Last modified: 2015-07-10 09:15:25 UTC
In case of gst_element_add_pad when the pad being added already has a parent or same name already exists, it fails, but gst_element_add_pad is supposed to take the reference of the buffer and the caller assumes so, which will lead to leaking of pad. unref'ing the pad on failures.
Created attachment 307196 [details] [review] pad leak during failures
Same goes for gst_bin_add() btw :) Want to provide a patch for both? *** This bug has been marked as a duplicate of bug 747990 ***
Go for it Vineeth :) provide a patch for both.