aboutsummaryrefslogtreecommitdiffstats
path: root/camel/providers/imap/camel-imap-store.c
diff options
context:
space:
mode:
Diffstat (limited to 'camel/providers/imap/camel-imap-store.c')
-rw-r--r--camel/providers/imap/camel-imap-store.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/camel/providers/imap/camel-imap-store.c b/camel/providers/imap/camel-imap-store.c
index 7ff46b9850..214b9fe18b 100644
--- a/camel/providers/imap/camel-imap-store.c
+++ b/camel/providers/imap/camel-imap-store.c
@@ -734,11 +734,11 @@ imap_disconnect (CamelService *service, gboolean clean, CamelException *ex)
store->subscribed_folders = NULL;
}
- if (imap_store->authtypes) {
- g_hash_table_foreach_remove (imap_store->authtypes,
+ if (store->authtypes) {
+ g_hash_table_foreach_remove (store->authtypes,
free_key, NULL);
- g_hash_table_destroy (imap_store->authtypes);
- imap_store->authtypes = NULL;
+ g_hash_table_destroy (store->authtypes);
+ store->authtypes = NULL;
}
if (store->namespace && !(store->parameters & IMAP_PARAM_OVERRIDE_NAMESPACE)) {