diff options
Diffstat (limited to 'calendar/cal-util')
-rw-r--r-- | calendar/cal-util/cal-component.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/calendar/cal-util/cal-component.c b/calendar/cal-util/cal-component.c index 237bf56842..d43234617a 100644 --- a/calendar/cal-util/cal-component.c +++ b/calendar/cal-util/cal-component.c @@ -4003,7 +4003,7 @@ cal_component_alarm_free (CalComponentAlarm *alarm) g_assert (alarm->icalcomp != NULL); - if (icalcomponent_get_parent (alarm->icalcomp) != NULL) + if (icalcomponent_get_parent (alarm->icalcomp) == NULL) icalcomponent_free (alarm->icalcomp); alarm->icalcomp = NULL; |