Re: [Evolution-hackers] Memory leak in camel-imap-message-cache.c

2008-01-14 Thread Philip Van Hoof
On Mon, 2008-01-14 at 16:02 +0530, Srinivasa Ragavan wrote: Look at the free_part function being called at g_hash_table_foreach (cache-parts, free_part, cache); It frees the key. Aha. Okay thanks for the clarification. I wonder, wouldn't it be better to use the standard infrastructure of

Re: [Evolution-hackers] Memory leak in camel-imap-message-cache.c

2008-01-14 Thread Srinivasa Ragavan
Look at the free_part function being called at g_hash_table_foreach (cache-parts, free_part, cache); It frees the key. -Srini. On Mon, 2008-01-14 at 02:58 +0100, Philip Van Hoof wrote: Hi there, The cache-parts = g_hash_table_new (g_str_hash, g_str_equal); of camel-imap-message-cache.c

Re: [Evolution-hackers] Possible memory leak

2008-01-14 Thread Philip Van Hoof
I think I've found the leak ... g_slist_remove_link: Removes an element from a GSList, without freeing the element. The removed element's next link is set to NULL, so that it becomes a self-contained list with one element. Notice the without freeing the element Yet void

Re: [Evolution-hackers] Possible memory leak

2008-01-14 Thread Matthew Barnes
On Mon, 2008-01-14 at 14:33 +0100, Philip Van Hoof wrote: I think I've found the leak ... g_slist_remove_link: Removes an element from a GSList, without freeing the element. The removed element's next link is set to NULL, so that it becomes a self-contained list with

Re: [Evolution-hackers] Memory leak in camel-imap-message-cache.c

2008-01-14 Thread Srinivasa Ragavan
On Mon, 2008-01-14 at 11:45 +0100, Philip Van Hoof wrote: On Mon, 2008-01-14 at 16:02 +0530, Srinivasa Ragavan wrote: Look at the free_part function being called at g_hash_table_foreach (cache-parts, free_part, cache); It frees the key. Aha. Okay thanks for the clarification. I

[Evolution-hackers] Evolution 2.21.5 , Evolution-Data-Server 2.21.5 , GtkHTML3.17.5 and Evolution-Exchange 2.21.5 released

2008-01-14 Thread Srinivasa Ragavan
Hi All, The Evolution Team is pleased to announce the release of Evolution 2.21.5. You can download the following : http://ftp.acc.umu.se/pub/gnome/sources/gtkhtml/3.17/gtkhtml-3.17.5.tar.bz2