Index: evolution-data-server/servers/exchange/lib/e2k-autoconfig.c
===================================================================
RCS file: /cvs/gnome/evolution-data-server/servers/exchange/lib/e2k-autoconfig.c,v
retrieving revision 1.13
diff -u -p -r1.13 e2k-autoconfig.c
--- evolution-data-server/servers/exchange/lib/e2k-autoconfig.c	18 Jan 2006 05:31:37 -0000	1.13
+++ evolution-data-server/servers/exchange/lib/e2k-autoconfig.c	1 Mar 2006 14:46:14 -0000
@@ -582,6 +582,7 @@ e2k_autoconfig_get_context (E2kAutoconfi
 		/* We won */
 		*result = E2K_AUTOCONFIG_OK;
 		href = xmlGetProp (node, "href");
+		g_free (ac->home_uri);
 		ac->home_uri = g_strdup (href);
 		xmlFree (href);
 	} else
@@ -715,11 +716,13 @@ e2k_autoconfig_check_exchange (E2kAutoco
 			prop = xmlGetProp (node, "src");
 			if (prop && strstr (prop, "public") && node->parent) {
 				node = node->parent;
+				xmlFree (prop);
 				prop = xmlGetProp (node, "href");
 				if (prop) {
 					euri = e2k_uri_new (prop);
 					ac->pf_server = g_strdup (euri->host);
 					e2k_uri_free (euri);
+					xmlFree (prop);
 				}
 				break;
 			}
Index: evolution-data-server/servers/exchange/storage/exchange-account.c
===================================================================
RCS file: /cvs/gnome/evolution-data-server/servers/exchange/storage/exchange-account.c,v
retrieving revision 1.28
diff -u -p -r1.28 exchange-account.c
--- evolution-data-server/servers/exchange/storage/exchange-account.c	6 Feb 2006 08:01:53 -0000	1.28
+++ evolution-data-server/servers/exchange/storage/exchange-account.c	1 Mar 2006 14:46:38 -0000
@@ -1410,7 +1410,7 @@ exchange_account_connect (ExchangeAccoun
 		return NULL;
 	}
 
-	e2k_autoconfig_set_password (ac, g_strdup (pword));
+	e2k_autoconfig_set_password (ac, pword);
 
  try_connect_again:
 	account->priv->ctx = e2k_autoconfig_get_context (ac, NULL, &result);
