After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 402497 - [0.11] gst_element_link (and probably others) implicitely request pads
[0.11] gst_element_link (and probably others) implicitely request pads
Status: RESOLVED OBSOLETE
Product: GStreamer
Classification: Platform
Component: gstreamer (core)
git master
Other Linux
: Normal enhancement
: 0.11.x
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2007-01-30 16:41 UTC by Sebastian Dröge (slomo)
Modified: 2012-06-28 10:03 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Sebastian Dröge (slomo) 2007-01-30 16:41:44 UTC
Hi,
as discussed on IRC gst_element_link (and probably other functions) implicitely request pads which is highly likely to lead to memory leaks as the application does not know in the worst case that pads were requested.

Those functions should either don't request pads or do whatever magic is required to release the pads when they're not needed anymore.

Bye
Comment 1 Sebastian Dröge (slomo) 2011-05-18 12:53:31 UTC
This is related to bug #402562 , which would (with the current fix) make sure that all request pads are released together with the object. We still might want to fix the implicit requesting of pads though
Comment 2 Tim-Philipp Müller 2012-06-27 16:34:16 UTC
Do we still want to change this in 0.11 now ?
Comment 3 Sebastian Dröge (slomo) 2012-06-28 09:19:45 UTC
IMO yes but it's less important now that we implicitely release requests pads when the elements is disposed. Wim?
Comment 4 Wim Taymans 2012-06-28 10:03:15 UTC
I think it's ok now.