aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/exchange-operations/exchange-contacts.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/exchange-operations/exchange-contacts.c')
-rw-r--r--plugins/exchange-operations/exchange-contacts.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/plugins/exchange-operations/exchange-contacts.c b/plugins/exchange-operations/exchange-contacts.c
index 46ab1f8f7a..164a314549 100644
--- a/plugins/exchange-operations/exchange-contacts.c
+++ b/plugins/exchange-operations/exchange-contacts.c
@@ -365,8 +365,10 @@ e_exchange_contacts_commit (EPlugin *epl, EConfigTarget *target)
e_source_set_relative_uri (source, ruri);
e_source_set_property (source, "username", username);
e_source_set_property (source, "auth-domain", "Exchange");
- if (authtype)
+ if (authtype) {
e_source_set_property (source, "auth-type", authtype);
+ g_free (authtype);
+ }
e_source_set_property (source, "auth", "plain/password");
if (!contacts_src_exists) {