[Commits] [SCM] claws branch, gtk3, updated. 4.0.0-233-g9ed7cc63f

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


The branch, gtk3 has been updated
       via  9ed7cc63f9a3c406af09ad13d5038cfe58a35ea9 (commit)
      from  b6808412b68404055815a4481e9da81a3bef5eb5 (commit)

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


- Log -----------------------------------------------------------------
commit 9ed7cc63f9a3c406af09ad13d5038cfe58a35ea9
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 29f115b30..669405a94 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