Re: [Evolution-hackers] Possible bug in GW Camel provider
- From: Jules Colding <colding omesc com>
- To: sparthasarathi novell com
- Cc: Evolution Hackers <evolution-hackers gnome org>
- Subject: Re: [Evolution-hackers] Possible bug in GW Camel provider
- Date: Wed, 14 Dec 2005 15:39:10 +0100
On Tue, 2005-12-13 at 18:40 +0530, Parthasarathi Susarla wrote:
> On Tue, 2005-12-13 at 13:36 +0100, Jules Colding wrote:
> [snip]
>
> > Problems seems to arise if "exists" is TRUE.
> >
> > Issue 1) pstrings, such as "mi->info.from", are being overwritten
> > without being released.
>
> > Issue 2) mi is being unref-ed but subsequently used. mi could vanish
> > while in use if another thread unrefs it once more.
>
> The logic there is quite simple and straight forward, if a message
> exists in the summary already, then we just do a pstring_free and
> allocate memory for individual items of the MessageInfo structure. I
> dont know which source you are using, but i see that its being freed and
> used properly (if you are not updated, please do so)
I have just inspected cvs HEAD instead of the gnome-2-12 branch. The
strings are indeed being released in HEAD so my assertion that this is a
bug seems to be correct, but the bug(s) is only present in the
gnome-2-12 branch.
Best regards,
jules
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]