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 719555 - some libnm-glib constructors wrongly finalize object during construction
some libnm-glib constructors wrongly finalize object during construction
Status: RESOLVED FIXED
Product: NetworkManager
Classification: Platform
Component: API
unspecified
Other All
: Normal critical
: ---
Assigned To: NetworkManager maintainer(s)
NetworkManager maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2013-11-29 14:00 UTC by Allison Karlitskaya (desrt)
Modified: 2016-08-29 17:43 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Allison Karlitskaya (desrt) 2013-11-29 14:00:53 UTC
This has always been invalid.  It used to be a memory leak, but since bug 661576, it's a hard assert.
Comment 1 Dan Winship 2013-11-30 20:38:26 UTC
(Changing title since nm-device is not actually one of the types that does this)

Also, we only do this in cases that are already invalid for returning NULL.
Comment 2 Thomas Haller 2016-08-29 17:43:47 UTC
I don't think we do this anymore.

Please reopen if you can find a place in code where this is done wrongly.