Don't use weak references to clean up "const" values in EContact
Ross Burton <[email protected]> Mon, 11 Dec 2006 15:17:47 +0000
| Newsgroups | gmane.comp.gnome.evolution.patches |
|---|---|
| Message-ID | <1165850267.5416.12.camel@blackadder> |
Hi, From http://bugzilla.gnome.org/show_bug.cgi?id=363445 Weak references are not free and EContact creates a new weak reference for every time e_contact_get_const() returns a new value to clean it up when the object dies. This is a rather heavyweight way of doing the cleanup, as it can be done fine in finalise. The bug has a patch. Ross -- Ross Burton mail: [email protected] jabber: [email protected] www: http://www.burtonini.com./ PGP Fingerprint: 1A21 F5B0 D8D0 CFE3 81D4 E25A 2D09 E447 D0B4 33DF _______________________________________________ Evolution-patches mailing list [email protected] http://mail.gnome.org/mailman/listinfo/evolution-patches
signature.asc
(application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (GNU/Linux) iD8DBQBFfXabLQnkR9C0M98RApmQAJ94RCh+IGT03GQTbvCu2jyqnu37DACg3oU2 N3q9mnpqjftXL1wOoPxGzhw= =uS1t -----END PGP SIGNATURE-----