diff options
Diffstat (limited to 'modules/itip-formatter/e-mail-parser-itip.c')
-rw-r--r-- | modules/itip-formatter/e-mail-parser-itip.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/modules/itip-formatter/e-mail-parser-itip.c b/modules/itip-formatter/e-mail-parser-itip.c index f8000aa46f..6324cd25e1 100644 --- a/modules/itip-formatter/e-mail-parser-itip.c +++ b/modules/itip-formatter/e-mail-parser-itip.c @@ -81,8 +81,10 @@ mail_part_itip_free (EMailPart *mail_part) g_clear_object (&pitip->registry); for (i = 0; i < E_CAL_CLIENT_SOURCE_TYPE_LAST; i++) { - g_hash_table_destroy (pitip->clients[i]); - pitip->clients[i] = NULL; + if (pitip->clients[i]) { + g_hash_table_destroy (pitip->clients[i]); + pitip->clients[i] = NULL; + } } g_free (pitip->vcalendar); |