Blame SOURCES/evolution-data-server-3.28.5-calbackendfile-interval-tree-destroy.patch

4b2c4b
diff -up evolution-data-server-3.28.5/src/calendar/backends/file/e-cal-backend-file.c.calbackendfile-interval-tree-destroy evolution-data-server-3.28.5/src/calendar/backends/file/e-cal-backend-file.c
4b2c4b
--- evolution-data-server-3.28.5/src/calendar/backends/file/e-cal-backend-file.c.calbackendfile-interval-tree-destroy	2021-06-16 16:09:19.863360296 +0200
4b2c4b
+++ evolution-data-server-3.28.5/src/calendar/backends/file/e-cal-backend-file.c	2021-06-16 16:10:14.225398710 +0200
4b2c4b
@@ -298,7 +298,8 @@ free_calendar_data (ECalBackendFile *cbf
4b2c4b
 
4b2c4b
 	g_rec_mutex_lock (&priv->idle_save_rmutex);
4b2c4b
 
4b2c4b
-	e_intervaltree_destroy (priv->interval_tree);
4b2c4b
+	if (priv->interval_tree)
4b2c4b
+		e_intervaltree_destroy (priv->interval_tree);
4b2c4b
 	priv->interval_tree = NULL;
4b2c4b
 
4b2c4b
 	free_calendar_components (priv->comp_uid_hash, priv->icalcomp);