[Commits] [SCM] claws branch, master, updated. 3.18.0-330-gb87fc3c41
paul at claws-mail.org
paul at claws-mail.org
Wed Jan 19 16:35:14 CET 2022
The branch, master has been updated
via b87fc3c418ffe815c2d2671e6ca1e826244ff36d (commit)
from 54665f4fa85c2e54fbab965cc23e6be3ffa1c0e8 (commit)
Summary of changes:
src/plugins/vcalendar/vcalendar.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
- Log -----------------------------------------------------------------
commit b87fc3c418ffe815c2d2671e6ca1e826244ff36d
Author: paul <paul at claws-mail.org>
Date: Wed Jan 19 15:30:49 2022 +0000
fix bug 4442, 'vcalendar segfault if in invitation email and switch to another folder'
diff --git a/src/plugins/vcalendar/vcalendar.c b/src/plugins/vcalendar/vcalendar.c
index 7a02b99af..4d7243621 100644
--- a/src/plugins/vcalendar/vcalendar.c
+++ b/src/plugins/vcalendar/vcalendar.c
@@ -1,6 +1,6 @@
/*
* Claws Mail -- a GTK+ based, lightweight, and fast e-mail client
- * Copyright (C) 1999-2018 Colin Leroy and the Claws Mail team
+ * Copyright (C) 1999-2022 the Claws Mail team and Colin Leroy
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -926,6 +926,8 @@ static gboolean vcalviewer_uribtn_cb(GtkButton *widget, gpointer data)
void vcalendar_refresh_folder_contents(FolderItem *item)
{
+ g_return_val_if_fail(item != NULL, NULL);
+
Folder *folder = folder_find_from_name (PLUGIN_NAME, vcal_folder_get_class());
if (folder && item->folder == folder) {
MainWindow *mainwin = mainwindow_get_mainwindow();
-----------------------------------------------------------------------
hooks/post-receive
--
Claws Mail
More information about the Commits
mailing list