[Commits] [SCM] claws branch, master, updated. 3.17.8-5-ga1beebc32
wwp at claws-mail.org
wwp at claws-mail.org
Tue Nov 3 09:47:32 CET 2020
The branch, master has been updated
via a1beebc329f9ae8d7caf03c65d588ce828334735 (commit)
from b0c16922b57e1df5e885d6fb03b473555851ad21 (commit)
Summary of changes:
src/plugins/vcalendar/vcalendar.c | 2 ++
1 file changed, 2 insertions(+)
- Log -----------------------------------------------------------------
commit a1beebc329f9ae8d7caf03c65d588ce828334735
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 81a2299c7..cd08e5588 100644
--- a/src/plugins/vcalendar/vcalendar.c
+++ b/src/plugins/vcalendar/vcalendar.c
@@ -446,6 +446,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