[Commits] [SCM] claws branch, master, updated. 3.14.0-68-gfbb619d
ticho at claws-mail.org
ticho at claws-mail.org
Fri Sep 9 23:44:16 CEST 2016
The branch, master has been updated
via fbb619d6ae6150a53b4b0bd5aa08ce53e3c6f253 (commit)
via e6ae9fa25d77255104e41ead34154fc12286d61d (commit)
from 51481e41cb6a7dd60783601c33aa4c13a95f0253 (commit)
Summary of changes:
src/folder.c | 1 +
src/passwordstore.c | 2 ++
2 files changed, 3 insertions(+)
- Log -----------------------------------------------------------------
commit fbb619d6ae6150a53b4b0bd5aa08ce53e3c6f253
Author: Andrej Kacian <ticho at claws-mail.org>
Date: Fri Sep 9 23:43:51 2016 +0200
Fix memory leak in password store reading.
diff --git a/src/passwordstore.c b/src/passwordstore.c
index b53ea77..95946ef 100644
--- a/src/passwordstore.c
+++ b/src/passwordstore.c
@@ -418,6 +418,8 @@ void passwd_store_read_config(void)
lines = g_strsplit(contents, "\n", -1);
+ g_free(contents);
+
while (lines[i] != NULL) {
if (*lines[i] == '[') {
/* Beginning of a new block */
commit e6ae9fa25d77255104e41ead34154fc12286d61d
Author: Andrej Kacian <ticho at claws-mail.org>
Date: Fri Sep 9 23:11:52 2016 +0200
Fix a memory leak in folder_register_class().
diff --git a/src/folder.c b/src/folder.c
index c229284..b653bac 100644
--- a/src/folder.c
+++ b/src/folder.c
@@ -142,6 +142,7 @@ void folder_register_class(FolderClass *klass)
if (folder) {
folder_add(folder);
folder_unloaded_list = g_slist_remove(folder_unloaded_list, node);
+ xml_free_tree(node);
}
cur = NULL;
continue;
-----------------------------------------------------------------------
hooks/post-receive
--
Claws Mail
More information about the Commits
mailing list