Re: Should I unref a CamelDataWrapper when I got it from camel_medium_get_content_object()?
Parthasarathi Susarla <[email protected]>
| Newsgroups | gmane.comp.gnome.evolution.devel |
|---|---|
| Organization | Novell Software Development (I) Ltd. |
| Message-ID | <[email protected]> |
Fixed and committed to HEAD and branch. Thanks for pointing it out. Cheers, partha On Mon, 2006-03-20 at 13:22 -0500, Jeffrey Stedfast wrote: > I believe you are right, you should not be unreffing the > CamelDataWrapper returned by camel_medium_get_content_object() > > Jeff > > On Mon, 2006-03-20 at 13:05 +0100, Jules Colding wrote: > > Hi, > > > > I am seeing a lot of unref'ing of CamelDataWrapper object as returned > > from camel_medium_get_content_object() (mostly in the GW provider). > > > > I do not see any ref'ing of the return value in > > camel_medium_get_content_object() which leads me to believe that any > > such unref'ing is wrong. > > > > Am I correct? > > > > Thanks, > > jules > > > > _______________________________________________ > > Evolution-hackers mailing list > > [email protected] > > http://mail.gnome.org/mailman/listinfo/evolution-hackers > >