[Commits] [SCM] claws branch, master, updated. 3.15.0-93-g4311a38
ticho at claws-mail.org
ticho at claws-mail.org
Tue Jul 11 17:55:44 CEST 2017
The branch, master has been updated
via 4311a38be85f5054a22c5be5605720fce867421d (commit)
from f14f6ecef4778d442eeb9f21a475b43c43978efa (commit)
Summary of changes:
src/prefs_logging.c | 2 ++
1 file changed, 2 insertions(+)
- Log -----------------------------------------------------------------
commit 4311a38be85f5054a22c5be5605720fce867421d
Author: Andrej Kacian <ticho at claws-mail.org>
Date: Tue Jul 11 17:55:11 2017 +0200
Fix two memory leaks in Logging prefs page widget packing.
diff --git a/src/prefs_logging.c b/src/prefs_logging.c
index d3b5652..23782b2 100644
--- a/src/prefs_logging.c
+++ b/src/prefs_logging.c
@@ -212,6 +212,7 @@ static void prefs_logging_create_widget(PrefsPage *_page, GtkWindow *window,
gtk_size_group_add_widget(filter_size_group, checkbtn_filtering_log_inc);
gtk_size_group_add_widget(filter_size_group, checkbtn_filtering_log_manual);
gtk_size_group_add_widget(filter_size_group, checkbtn_filtering_log_folder_proc);
+ g_object_unref(G_OBJECT(filter_size_group));
SET_TOGGLE_SENSITIVITY(checkbtn_filtering_log, frame_filtering_log);
@@ -299,6 +300,7 @@ static void prefs_logging_create_widget(PrefsPage *_page, GtkWindow *window,
log_size_group = gtk_size_group_new(GTK_SIZE_GROUP_HORIZONTAL);
gtk_size_group_add_widget(log_size_group, checkbtn_log_warning);
gtk_size_group_add_widget(log_size_group, checkbtn_log_error);
+ g_object_unref(G_OBJECT(log_size_group));
gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(checkbtn_clip_network_log),
prefs_common.cliplog);
-----------------------------------------------------------------------
hooks/post-receive
--
Claws Mail
More information about the Commits
mailing list