[Commits] [SCM] claws branch, gtk3, updated. 4.0.0-402-g84455a6c0

paul at claws-mail.org paul at claws-mail.org
Wed Jan 19 16:30:53 CET 2022


The branch, gtk3 has been updated
       via  84455a6c078eec07c3c5b937c0636be65a8d11d6 (commit)
      from  03d035f2e8ee01c90c47b0b5cdf6f7a4ebcd1356 (commit)

Summary of changes:
 src/plugins/vcalendar/vcalendar.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)


- Log -----------------------------------------------------------------
commit 84455a6c078eec07c3c5b937c0636be65a8d11d6
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 bfb131db9..280a2054e 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-2020 the Claws Mail team and Colin Leroy
+ * 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
@@ -923,6 +923,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