aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui
diff options
context:
space:
mode:
Diffstat (limited to 'calendar/gui')
-rw-r--r--calendar/gui/itip-utils.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/calendar/gui/itip-utils.c b/calendar/gui/itip-utils.c
index 804f5e004a..9fe0f1bdb6 100644
--- a/calendar/gui/itip-utils.c
+++ b/calendar/gui/itip-utils.c
@@ -608,9 +608,8 @@ comp_to_list (ECalComponentItipMethod method, ECalComponent *comp, GList *users,
if (array == NULL)
return NULL;
- convert.pdata = array->pdata;
g_ptr_array_add (array, NULL);
- g_ptr_array_free (array, FALSE);
+ convert.pdata = g_ptr_array_free (array, FALSE);
return convert.destinations;
}