[Commits] [SCM] claws branch, master, updated. 3.16.0-256-gd5d08c6
ticho at claws-mail.org
ticho at claws-mail.org
Fri Aug 3 14:16:08 CEST 2018
The branch, master has been updated
via d5d08c669283bafa8ea0af4c58a0edd21e38da9d (commit)
from 668f7cb605d31a753986a017050a13edf160d488 (commit)
Summary of changes:
src/main.c | 2 ++
1 file changed, 2 insertions(+)
- Log -----------------------------------------------------------------
commit d5d08c669283bafa8ea0af4c58a0edd21e38da9d
Author: Andrej Kacian <ticho at claws-mail.org>
Date: Fri Aug 3 14:15:47 2018 +0200
Fix a memory leak when saving last opened folder on exit.
diff --git a/src/main.c b/src/main.c
index 28640c9..1c7345e 100644
--- a/src/main.c
+++ b/src/main.c
@@ -1674,6 +1674,8 @@ static void exit_claws(MainWindow *mainwin)
if((item = folderview_get_opened_item(mainwin->folderview)) != NULL) {
summary_save_prefs_to_folderitem(
mainwin->summaryview, item);
+ if (prefs_common.last_opened_folder != NULL)
+ g_free(prefs_common.last_opened_folder);
prefs_common.last_opened_folder =
folder_item_get_identifier(item);
}
-----------------------------------------------------------------------
hooks/post-receive
--
Claws Mail
More information about the Commits
mailing list