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 553937 - CRDocHandler instances created with reference count of 0
CRDocHandler instances created with reference count of 0
Status: RESOLVED FIXED
Product: libcroco
Classification: Core
Component: General
unspecified
Other Linux
: Normal normal
: ---
Assigned To: libcroco maintainers
libcroco maintainers
Depends on:
Blocks:
 
 
Reported: 2008-09-26 13:07 UTC by Rob Staudinger
Modified: 2008-09-26 14:35 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Rob Staudinger 2008-09-26 13:07:46 UTC
CRDocHandler instances created by cr_doc_handler_new() have an initial reference count of 0. This seems to be inconsistent with most reference counting schemes out there. 

As a consequence the handler must not be unref'd after being passed to CRParser.
Comment 1 Rob Staudinger 2008-09-26 14:35:12 UTC
Accepting.
Comment 2 Rob Staudinger 2008-09-26 14:35:42 UTC
Fixed in trunk.