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 94461 - ref()/unref() inconsistency in GstElementFactory
ref()/unref() inconsistency in GstElementFactory
Status: RESOLVED NOTABUG
Product: GStreamer
Classification: Platform
Component: gstreamer (core)
0.4.1
Other Linux
: Normal major
: 0.4.0
Assigned To: Wim Taymans
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2002-09-29 15:32 UTC by Christian Meyer
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Christian Meyer 2002-09-29 15:32:42 UTC
In the current GstElementFactory class of Gstreamer,
gst_element_factory_add_pad_template() refs the GstPadTemplate but it will
never get unrefed again.
This makes wrapping the class quite hard, thus needs to be fixed ASAP.
Comment 1 Wim Taymans 2003-01-17 16:52:22 UTC
The elementfacory is currently never unreffed (we don't unload
registries). Old Padtemplates are unreffed in the _add_template method
when a new template with the name name is added. 

Can you clarify why this can be a problem?