[Commits] [SCM] claws branch, master, updated. 4.1.0-61-g8d910b825

mones at claws-mail.org mones at claws-mail.org
Mon Sep 12 08:43:23 UTC 2022


The branch, master has been updated
       via  8d910b825d81d8d7224f8091e66144716943d4e7 (commit)
      from  e95e0eafe337080aa961fcd716546b326e3bc5f4 (commit)

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


- Log -----------------------------------------------------------------
commit 8d910b825d81d8d7224f8091e66144716943d4e7
Author: Ricardo Mones <ricardo at mones.org>
Date:   Mon Sep 12 10:42:32 2022 +0200

    Fix unchecked access to pointer

diff --git a/src/addressadd.c b/src/addressadd.c
index 99357110a..85c76663c 100644
--- a/src/addressadd.c
+++ b/src/addressadd.c
@@ -374,7 +374,7 @@ static void addressadd_load_folder( GtkTreeIter *parent_iter,
 	gchar *name;
 	FolderInfo *fi;
 
-	list = parentFolder->listFolder;
+	list = parentFolder != NULL? parentFolder->listFolder: NULL;
 	while( list ) {
 		folder = list->data;
 		name = g_strdup( ADDRITEM_NAME(folder) );

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


hooks/post-receive
-- 
Claws Mail


More information about the Commits mailing list