[Commits] [SCM] claws branch, vfolder, updated. 3.10.1-109-ga82a326

miras at claws-mail.org miras at claws-mail.org
Sun Jun 22 01:13:59 CEST 2014


The branch vfolder of project "claws" (Claws Mail) has been updated
       via  a82a3267d9f2cb4b4ba4d468340e7eefe9776105 (commit)
      from  f67bf5f325ddc11d703f12b5f6f8e2624e4b355e (commit)

Summary of changes:
 src/plugins/vfolder/vfolder.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)


- Log -----------------------------------------------------------------
commit a82a3267d9f2cb4b4ba4d468340e7eefe9776105
Author: Michael Rasmussen <mir at datanom.net>
Date:   Sun Jun 22 01:13:53 2014 +0200

    Fix crasher and memory leak

diff --git a/src/plugins/vfolder/vfolder.c b/src/plugins/vfolder/vfolder.c
index c821a28..75abb94 100644
--- a/src/plugins/vfolder/vfolder.c
+++ b/src/plugins/vfolder/vfolder.c
@@ -764,10 +764,10 @@ void vfolder_done(void) {
 
 	vfolder_vfolders_config_save();
 
-	g_hash_table_destroy(vfolders);
-
 	if (!claws_is_exiting())
 		folder_unregister_class(vfolder_folder_get_class());
+	else
+		g_hash_table_destroy(vfolders);
 }
 
 void vfolder_set_last_num(Folder *folder, FolderItem *item) {

-----------------------------------------------------------------------


hooks/post-receive
-- 
Claws Mail


More information about the Commits mailing list