[Commits] [SCM] claws branch, master, updated. 3.15.0-86-gfb0b04b
ticho at claws-mail.org
ticho at claws-mail.org
Mon Jul 10 18:11:27 CEST 2017
The branch, master has been updated
via fb0b04b4f0a0c024e7f4021f329a3847705ba752 (commit)
from ff02e58cc767c44fe4223bafaf43b8e11092c8ba (commit)
Summary of changes:
src/plugins/managesieve/sieve_prefs.c | 2 ++
src/plugins/pgpcore/prefs_gpg.c | 2 ++
2 files changed, 4 insertions(+)
- Log -----------------------------------------------------------------
commit fb0b04b4f0a0c024e7f4021f329a3847705ba752
Author: Andrej Kacian <ticho at claws-mail.org>
Date: Mon Jul 10 18:11:12 2017 +0200
Fix two similar memory leaks in pgp and managesieve prefs.
diff --git a/src/plugins/managesieve/sieve_prefs.c b/src/plugins/managesieve/sieve_prefs.c
index 8245d5a..06fa510 100644
--- a/src/plugins/managesieve/sieve_prefs.c
+++ b/src/plugins/managesieve/sieve_prefs.c
@@ -338,6 +338,8 @@ static void sieve_prefs_account_create_widget_func(PrefsPage *_page,
/* Free things */
g_object_unref(G_OBJECT(size_group));
+
+ sieve_prefs_account_free_config(config);
}
static void sieve_prefs_account_destroy_widget_func(PrefsPage *_page)
diff --git a/src/plugins/pgpcore/prefs_gpg.c b/src/plugins/pgpcore/prefs_gpg.c
index c1f1491..19f6421 100644
--- a/src/plugins/pgpcore/prefs_gpg.c
+++ b/src/plugins/pgpcore/prefs_gpg.c
@@ -457,6 +457,8 @@ static void prefs_gpg_account_create_widget_func(PrefsPage *_page,
page->page.widget = vbox;
page->account = account;
prefs_gpg_update_sens(page);
+
+ prefs_gpg_account_free_config(config);
}
static void prefs_gpg_account_destroy_widget_func(PrefsPage *_page)
-----------------------------------------------------------------------
hooks/post-receive
--
Claws Mail
More information about the Commits
mailing list