Re: [Evolution-hackers] Camel unreferencing question



On Fri, 2006-08-25 at 12:32 +0200, Jules Colding wrote:
> On Fri, 2006-08-25 at 12:10 +0200, Philip Van Hoof wrote:
> > Camel hackers,
> > 
> > It's not clear from the gtk-doc API documentation* whether or not you
> > must unreference a store after getting it using camel_session_get_store
> > 
> > *) http://pvanhoof.be/files/libcamel-api/html/CamelSession.html
> 

> The comment for camel_session_get_service() says that the reference
> count for the service is incremented for each retrieval. This seems to
> conclusively prove that you should indeed unref the store after you are
> done with it.

Thanks Jules. I'll add the camel_object_unref and pray that things will
not crash and race

-- 
Philip Van Hoof, software developer at x-tend 
home: me at pvanhoof dot be 
gnome: pvanhoof at gnome dot org 
work: vanhoof at x-tend dot be 
http://www.pvanhoof.be - http://www.x-tend.be




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