aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui
diff options
context:
space:
mode:
Diffstat (limited to 'calendar/gui')
-rw-r--r--calendar/gui/Makefile.am4
-rw-r--r--calendar/gui/corba-cal.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/calendar/gui/Makefile.am b/calendar/gui/Makefile.am
index 408f80dd76..5fa18ba0dd 100644
--- a/calendar/gui/Makefile.am
+++ b/calendar/gui/Makefile.am
@@ -62,6 +62,8 @@ gnomecal_SOURCES = \
cal-client.h \
cal-listener.c \
cal-listener.h \
+ cal-util.c \
+ cal-util.h \
calendar.c \
calendar.h \
calendar-conduit.h \
@@ -134,6 +136,8 @@ tlacuache_SOURCES = \
cal-common.h \
cal-factory.c \
cal-factory.h \
+ cal-util.c \
+ cal-util.h \
calobj.c \
calobj.h \
job.c \
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;