Bug 1613 - Various memory leaks
Summary: Various memory leaks
Status: RESOLVED FIXED
Alias: None
Product: Claws Mail (GTK 2)
Classification: Unclassified
Component: Other (show other bugs)
Version: 3.5.0
Hardware: PC Linux
: P3 normal
Assignee: users
URL:
Depends on:
Blocks:
 
Reported: 2008-05-18 16:03 UTC by Didier Barvaux
Modified: 2008-05-18 20:13 UTC (History)
0 users

See Also:


Attachments
Patch fixing the reported memory leaks. (2.63 KB, patch)
2008-05-18 16:04 UTC, Didier Barvaux
no flags Details | Diff

Description Didier Barvaux 2008-05-18 16:03:15 UTC
Claws-mail does not release some ressources at shutdown:
 - the ctree used in the summary view
 - open IMAP connections
 - one hash in the NNTP thread

Claws-mail does not close open files if some problems occur in the plugin loader.

Reproductible: always. Start claws-mail within valgrind with some not up-to-date plugins, check your emails from an IMAP account, close claws-mail, read the valgrind output.
Comment 1 Didier Barvaux 2008-05-18 16:04:57 UTC
Created attachment 585 [details]
Patch fixing the reported memory leaks.

Attach a patch that fixes all the reported leaks.
Comment 2 users 2008-05-18 18:30:52 UTC
Changes related to this bug have been committed.
Please check latest CVS and update the bug accordingly.
You can also get the patch from:
http://www.colino.net/claws-mail/

2008-05-18 [colin]	3.4.0cvs51

	* src/common/plugin.c
	* src/etpan/imap-thread.c
	* src/etpan/nntp-thread.c
	* src/gtk/gtksctree.c
		Fix bug 1613, 'Various memory leaks'; 
		based on a patch by Didier Barvaux.
Comment 3 Didier Barvaux 2008-05-18 20:13:25 UTC
Bug fixed in 3.4.0cvs51. Thank you.

Note You need to log in before you can comment on or make changes to this bug.