[Commits] [SCM] claws branch, gtk3, updated. 3.99.0-1-g6ed06b591

paul at claws-mail.org paul at claws-mail.org
Tue Nov 3 09:04:03 CET 2020


The branch, gtk3 has been updated
       via  6ed06b5919ddf1d1549d281e7dd1c1ea02cf62c0 (commit)
      from  ce219a1a5b6c2b86ffdb5647f5ef9370ae2a5fd7 (commit)

Summary of changes:
 src/plugins/vcalendar/vcalendar.c | 2 ++
 1 file changed, 2 insertions(+)


- Log -----------------------------------------------------------------
commit 6ed06b5919ddf1d1549d281e7dd1c1ea02cf62c0
Author: paul <paul at claws-mail.org>
Date:   Tue Nov 3 09:03:59 2020 +0000

    fix sometimes crasher in vcalendar_get_current_item()
    
    thanks to Paul Rolland

diff --git a/src/plugins/vcalendar/vcalendar.c b/src/plugins/vcalendar/vcalendar.c
index 8245d6036..b73027a7d 100644
--- a/src/plugins/vcalendar/vcalendar.c
+++ b/src/plugins/vcalendar/vcalendar.c
@@ -443,6 +443,8 @@ static FolderItem *vcalendar_get_current_item(void)
 	
 	if (mainwin) {
 		item = mainwin->summaryview->folder_item;
+		if (item == NULL)
+			return NULL;
 		if (item->folder == folder)
 			return item;
 		else 

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


hooks/post-receive
-- 
Claws Mail


More information about the Commits mailing list