aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/pcs/calobj.c
diff options
context:
space:
mode:
Diffstat (limited to 'calendar/pcs/calobj.c')
-rw-r--r--calendar/pcs/calobj.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/calendar/pcs/calobj.c b/calendar/pcs/calobj.c
index 8272fd1560..89bfc94540 100644
--- a/calendar/pcs/calobj.c
+++ b/calendar/pcs/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)){
as correctly detecting thatdanfe2018-01-101-2/+2 * For ports that are marked BROKEN on armv6, and also fail to build onlinimon2017-11-301-0/+1 * The output of tools like awk, date, sort, tr,... depends on the currenttijl2017-01-181-2/+0 * Mark as broken on aarch64: fails to link with sbrk.linimon2016-11-101-0/+1 * Fix obvious braino.linimon2016-09-231-4/+4 * Mark as broken on various tier-2 archs.linimon2016-09-19