aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/exchange-operations/exchange-calendar.c
diff options
context:
space:
mode:
authorSushma Rai <rsushma@src.gnome.org>2006-02-06 16:53:21 +0800
committerSushma Rai <rsushma@src.gnome.org>2006-02-06 16:53:21 +0800
commit90e3e5497f9b6b7555036c776c77f2c81a4c839d (patch)
treeb37a8550dee6911bbe256d310455bfe134ff67b3 /plugins/exchange-operations/exchange-calendar.c
parent3c44c1e40dd87f7869f19c1ab82fcdcfdf2b720f (diff)
downloadgsoc2013-evolution-90e3e5497f9b6b7555036c776c77f2c81a4c839d.tar
gsoc2013-evolution-90e3e5497f9b6b7555036c776c77f2c81a4c839d.tar.gz
gsoc2013-evolution-90e3e5497f9b6b7555036c776c77f2c81a4c839d.tar.bz2
gsoc2013-evolution-90e3e5497f9b6b7555036c776c77f2c81a4c839d.tar.lz
gsoc2013-evolution-90e3e5497f9b6b7555036c776c77f2c81a4c839d.tar.xz
gsoc2013-evolution-90e3e5497f9b6b7555036c776c77f2c81a4c839d.tar.zst
gsoc2013-evolution-90e3e5497f9b6b7555036c776c77f2c81a4c839d.zip
Fixed memory leaks. Fixes #329251.
svn path=/trunk/; revision=31418
Diffstat (limited to 'plugins/exchange-operations/exchange-calendar.c')
-rw-r--r--plugins/exchange-operations/exchange-calendar.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/plugins/exchange-operations/exchange-calendar.c b/plugins/exchange-operations/exchange-calendar.c
index 7dfc767222..f0ebfb80e9 100644
--- a/plugins/exchange-operations/exchange-calendar.c
+++ b/plugins/exchange-operations/exchange-calendar.c
@@ -397,8 +397,10 @@ e_exchange_calendar_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)
- e_source_set_property (source, "auth-type", authtype);
+ if (authtype) {
+ e_source_set_property (source, "auth-type", authtype);
+ g_free (authtype);
+ }
e_source_set_property (source, "auth", "1");
if (!calendar_src_exists) {