Bug 1613 - Various memory leaks
: Various memory leaks
Status: RESOLVED FIXED
: Claws Mail
Other
: 3.5.0
: PC Linux
: P3 normal
Assigned To:
:
:
:
  Show dependency treegraph
 
Reported: 2008-05-18 16:03 by
Modified: 2008-05-18 20:13 (History)


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


Note

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


Description From 2008-05-18 16:03:15
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 From 2008-05-18 16:04:57 -------
Created an attachment (id=585) [details]
Patch fixing the reported memory leaks.

Attach a patch that fixes all the reported leaks.
------- Comment #2 From 2008-05-18 18:30:52 -------
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 From 2008-05-18 20:13:25 -------
Bug fixed in 3.4.0cvs51. Thank you.