[Commits] [SCM] claws branch, master, updated. 3.18.0-175-g0b2802f8f

wwp at claws-mail.org wwp at claws-mail.org
Mon Sep 27 18:06:19 CEST 2021


The branch, master has been updated
       via  0b2802f8f52ac24b6726abec545d04fd3c07d343 (commit)
      from  29102bfa04d70747eea3aa7c2a97b1c09d4299e1 (commit)

Summary of changes:
 src/ssl_manager.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


- Log -----------------------------------------------------------------
commit 0b2802f8f52ac24b6726abec545d04fd3c07d343
Author: wwp <subscript at free.fr>
Date:   Mon Sep 27 18:06:01 2021 +0200

    Fix CID 1491119: use after free.

diff --git a/src/ssl_manager.c b/src/ssl_manager.c
index e8d3833c3..b1e87c485 100644
--- a/src/ssl_manager.c
+++ b/src/ssl_manager.c
@@ -147,10 +147,10 @@ static GtkWidget *ssl_manager_list_view_create	(void)
 
 	model = GTK_TREE_MODEL(ssl_manager_create_data_store());
 	list_view = GTK_TREE_VIEW(gtk_tree_view_new_with_model(model));
-	g_object_unref(model);	
 	
  	gtk_tree_sortable_set_sort_column_id(GTK_TREE_SORTABLE(model),
                                              0, GTK_SORT_ASCENDING);
+	g_object_unref(model);	
 	gtk_tree_view_set_rules_hint(list_view, prefs_common.use_stripes_everywhere);
 	
 	selector = gtk_tree_view_get_selection(list_view);

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


hooks/post-receive
-- 
Claws Mail


More information about the Commits mailing list