Re: [evolution-patches] memory leaks, calendar/addressbook, evo/eds



On Thu, 2005-03-17 at 13:04 +0100, Rodrigo Moya wrote:
> On Wed, 2005-03-09 at 18:28 +0800, Not Zed wrote:
> > 
> > These patches address:
> > - major leaks in calendar (multi-megabytes)
> > - reduce memory usage in addressbook, for multiple local addressbooks
> > (multi-megabytes)
> > - another 'minor' leak in calendar
> > 
> > These are the major leaks that seem to be present at this time in the
> > codebase.
> > 
> 
> > +++ calendar/libical/src/libical/icaltime.c     9 Mar 2005 10:27:17
> > -0000
> > @@ -347,8 +347,8 @@ void unset_tz(char *tzstr)
> >      } 
> >  
> >      /* Free any previous TZ environment string we have used. */
> > -    //if (saved_tz)
> > -    //  free (saved_tz);
> > +    if (saved_tz)
> > +       free (saved_tz);
> > 
> ugh, I thought this had been uncommented before.

I think it was but only in the 2.8 branch.

-JP
-- 
JP Rosevear <jpr novell com>
Novell, Inc.




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