aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/corba-cal.c
diff options
context:
space:
mode:
Diffstat (limited to 'calendar/gui/corba-cal.c')
-rw-r--r--calendar/gui/corba-cal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/calendar/gui/corba-cal.c b/calendar/gui/corba-cal.c
index 74afc0e76a..7b9878f875 100644
--- a/calendar/gui/corba-cal.c
+++ b/calendar/gui/corba-cal.c
@@ -295,7 +295,7 @@ cal_repo_get_updated_objects (PortableServer_Servant servant,
}
str = calendar_get_as_vcal_string (dirty_cal);
res = CORBA_string_dup (str);
- g_free (str);
+ free (str); /* calendar_get_as_vcal_string() uses writeMemVObject(), which uses realloc() */
calendar_destroy (dirty_cal);
return res;