aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/calendar.c
diff options
context:
space:
mode:
Diffstat (limited to 'calendar/calendar.c')
-rw-r--r--calendar/calendar.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/calendar/calendar.c b/calendar/calendar.c
index cffd2476c4..d8b56160e8 100644
--- a/calendar/calendar.c
+++ b/calendar/calendar.c
@@ -391,9 +391,6 @@ vcalendar_create_from_calendar (Calendar *cal)
addVObjectProp (vcal, obj);
}
- cleanVObject (vcal);
- cleanStrTbl ();
-
return vcal;
}
@@ -437,7 +434,7 @@ calendar_save (Calendar *cal, char *fname)
gtk_widget_show(dlg);
}
- cleanVObject (vcal);
+ cleanVObject (vcal);
cleanStrTbl ();
}