diff options
author | Milan Crha <mcrha@redhat.com> | 2011-04-18 22:29:29 +0800 |
---|---|---|
committer | Rodrigo Moya <rodrigo@gnome-db.org> | 2011-06-30 00:41:55 +0800 |
commit | eecdf6fc08f72a1d0104a781f15b9476936876e8 (patch) | |
tree | 710935faeb2a7ca0a68ead1b41fdb6c0684d1cd3 /plugins/itip-formatter | |
parent | f31b492945408f038ae16a099900631ae9714912 (diff) | |
download | gsoc2013-evolution-eecdf6fc08f72a1d0104a781f15b9476936876e8.tar.gz gsoc2013-evolution-eecdf6fc08f72a1d0104a781f15b9476936876e8.tar.zst gsoc2013-evolution-eecdf6fc08f72a1d0104a781f15b9476936876e8.zip |
Bug #646197 - Crash with VALARM without ACTION property
Diffstat (limited to 'plugins/itip-formatter')
-rw-r--r-- | plugins/itip-formatter/itip-formatter.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/itip-formatter/itip-formatter.c b/plugins/itip-formatter/itip-formatter.c index fcd54279e2..dcf3874b12 100644 --- a/plugins/itip-formatter/itip-formatter.c +++ b/plugins/itip-formatter/itip-formatter.c @@ -1871,7 +1871,7 @@ extract_itip_data (struct _itip_puri *pitip, GtkContainer *container, gboolean * icalcompiter_next (&alarm_iter); p = icalcomponent_get_first_property (alarm_comp, ICAL_ACTION_PROPERTY); - if (icalproperty_get_action (p) == ICAL_ACTION_PROCEDURE) + if (!p || icalproperty_get_action (p) == ICAL_ACTION_PROCEDURE) icalcomponent_remove_component (pitip->ical_comp, alarm_comp); icalcomponent_free (alarm_comp); |