aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/calendar-pilot-sync.c
diff options
context:
space:
mode:
Diffstat (limited to 'calendar/gui/calendar-pilot-sync.c')
-rw-r--r--calendar/gui/calendar-pilot-sync.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/calendar/gui/calendar-pilot-sync.c b/calendar/gui/calendar-pilot-sync.c
index 7378f796fd..98740a51f4 100644
--- a/calendar/gui/calendar-pilot-sync.c
+++ b/calendar/gui/calendar-pilot-sync.c
@@ -172,7 +172,7 @@ update_record (GNOME_Calendar_Repository repo, int id, struct Appointment *a, in
if (obj->pilot_status == ICAL_PILOT_SYNC_MOD){
printf (_("\tObject has been modified on desktop and on the pilot, desktop takes precedence\n"));
- ical_object_destroy (obj);
+ ical_object_unref (obj);
return;
}
@@ -313,7 +313,7 @@ update_record (GNOME_Calendar_Repository repo, int id, struct Appointment *a, in
/*
* Shutdown
*/
- ical_object_destroy (obj);
+ ical_object_unref (obj);
}
/*