aboutsummaryrefslogtreecommitdiffstats
path: root/modules/itip-formatter
diff options
context:
space:
mode:
authorDan Vrátil <dvratil@redhat.com>2012-06-13 00:30:19 +0800
committerDan Vrátil <dvratil@redhat.com>2012-06-13 00:30:19 +0800
commit0c25f646c8e5d1e8f0617e14949e824de6e7f1fb (patch)
tree7aa9ae9ab2a6258ffc4bb2f9b3e81c380bd37fb2 /modules/itip-formatter
parent2636ac8a2c6c2a0cf6e66dda64bbd2e2d3ee7c30 (diff)
downloadgsoc2013-evolution-0c25f646c8e5d1e8f0617e14949e824de6e7f1fb.tar
gsoc2013-evolution-0c25f646c8e5d1e8f0617e14949e824de6e7f1fb.tar.gz
gsoc2013-evolution-0c25f646c8e5d1e8f0617e14949e824de6e7f1fb.tar.bz2
gsoc2013-evolution-0c25f646c8e5d1e8f0617e14949e824de6e7f1fb.tar.lz
gsoc2013-evolution-0c25f646c8e5d1e8f0617e14949e824de6e7f1fb.tar.xz
gsoc2013-evolution-0c25f646c8e5d1e8f0617e14949e824de6e7f1fb.tar.zst
gsoc2013-evolution-0c25f646c8e5d1e8f0617e14949e824de6e7f1fb.zip
Bug #677607 - Closing Mail Browser emits critical warnings
Diffstat (limited to 'modules/itip-formatter')
-rw-r--r--modules/itip-formatter/e-mail-parser-itip.c6
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);