Re: [gmime-devel] GObject unref hell



On 06-11-13 10:21, Mario Theodoridis wrote:

2. Is there a way to safely unref a GObject, i.e. unref it if it needs
to be? This is mainly because it is not always clear to me when and when
not due to issues like the current.


Bit late to the game here, but what helped me a *lot* was tracking
references using an external tool:

http://git.dbmail.eu/paul/gobject-list/

which I forked from

http://cgit.collabora.com/git/user/cassidy/gobject-list.git/

saved my day. A bit like valgrind for object references.



-- 
________________________________________________________________
Paul J Stevens       pjstevns @ gmail, twitter, github, linkedin

  * Premium Hosting Services and Web Application Consultancy *

           www.nfg.nl/info nfg nl/+31.85.877.99.97
________________________________________________________________


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]