diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2013-02-28 03:06:45 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2013-02-28 03:06:45 +0800 |
commit | 142f09f477519a408aa398a043ec8d8fb1269423 (patch) | |
tree | 38050d3f87ac1a20bc2d3119592c0f309096eb76 /modules/itip-formatter/e-mail-parser-itip.c | |
parent | d0d713e84617d07ece224c5eee5abd3769ccfec3 (diff) | |
download | gsoc2013-evolution-142f09f477519a408aa398a043ec8d8fb1269423.tar.gz gsoc2013-evolution-142f09f477519a408aa398a043ec8d8fb1269423.tar.zst gsoc2013-evolution-142f09f477519a408aa398a043ec8d8fb1269423.zip |
EMailPartItip: Remove redundant client cache.
EClientCache already serves this purpose.
Diffstat (limited to 'modules/itip-formatter/e-mail-parser-itip.c')
-rw-r--r-- | modules/itip-formatter/e-mail-parser-itip.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/modules/itip-formatter/e-mail-parser-itip.c b/modules/itip-formatter/e-mail-parser-itip.c index 715bb30fe1..088f79d8ae 100644 --- a/modules/itip-formatter/e-mail-parser-itip.c +++ b/modules/itip-formatter/e-mail-parser-itip.c @@ -66,19 +66,11 @@ static void mail_part_itip_free (EMailPart *mail_part) { EMailPartItip *pitip = (EMailPartItip *) mail_part; - gint i; g_cancellable_cancel (pitip->cancellable); g_clear_object (&pitip->cancellable); g_clear_object (&pitip->client_cache); - for (i = 0; i < E_CAL_CLIENT_SOURCE_TYPE_LAST; i++) { - if (pitip->clients[i]) { - g_hash_table_destroy (pitip->clients[i]); - pitip->clients[i] = NULL; - } - } - g_free (pitip->vcalendar); pitip->vcalendar = NULL; |