aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/calobj.c
diff options
context:
space:
mode:
Diffstat (limited to 'calendar/calobj.c')
-rw-r--r--calendar/calobj.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/calendar/calobj.c b/calendar/calobj.c
index 8272fd1560..89bfc94540 100644
--- a/calendar/calobj.c
+++ b/calendar/calobj.c
@@ -408,8 +408,10 @@ ical_object_create_from_vobject (VObject *o, const char *object_name)
ical->type = ICAL_EVENT;
else if (strcmp (object_name, VCTodoProp) == 0)
ical->type = ICAL_TODO;
- else
+ else {
+ g_free (ical);
return 0;
+ }
/* uid */
if (has (o, VCUniqueStringProp)){
-ports-gnome/log/www/woadaptor?h=gnome-3.24&id=998acd53b18b1fae75f4512a16bf6f6fa788a6d3&showmsg=1'>Expand)AuthorAgeFilesLines * [NEW PORTS] www/webobjects(+) Apple WebObjects ports bundleedwin2008-06-1343a611edeaf4615750c95'>- adopt optionsNG, define LICENSE, trim historical headerjgh2013-01-16