aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/calendar.c
diff options
context:
space:
mode:
Diffstat (limited to 'calendar/gui/calendar.c')
-rw-r--r--calendar/gui/calendar.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/calendar/gui/calendar.c b/calendar/gui/calendar.c
index cffd2476c4..d8b56160e8 100644
--- a/calendar/gui/calendar.c
+++ b/calendar/gui/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 ();
}