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



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.
-- 
Rodrigo Moya <rodrigo novell com>




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