Index: plugins/exchange-operations/exchange-folder.c
===================================================================
RCS file: /cvs/gnome/evolution/plugins/exchange-operations/exchange-folder.c,v
retrieving revision 1.18
diff -u -p -r1.18 exchange-folder.c
--- plugins/exchange-operations/exchange-folder.c	27 Jan 2006 16:33:44 -0000	1.18
+++ plugins/exchange-operations/exchange-folder.c	1 Feb 2006 15:14:36 -0000
@@ -548,7 +548,7 @@ org_gnome_exchange_folder_subscription (
 	ExchangeAccount *account = NULL;
 	EFolder *folder = NULL;
 	ExchangeAccountFolderResult result;
-	gchar *user_email_address = NULL, *folder_name = NULL;
+	gchar *user_email_address = NULL, *folder_name = NULL, *path = NULL;
 	gint mode;
 	ExchangeConfigListenerStatus status;
 
@@ -577,6 +577,7 @@ org_gnome_exchange_folder_subscription (
 
 	if (user_email_address && folder_name) {
 		result = exchange_account_discover_shared_folder (account, user_email_address, folder_name, &folder);
+		g_free (folder_name);
 		
 		switch (result) {
 		case EXCHANGE_ACCOUNT_FOLDER_OK:
@@ -608,10 +609,15 @@ org_gnome_exchange_folder_subscription (
 	}
 
 	if (!folder) {
+		g_free (user_email_address);
 		return;
 	}
 
-	exchange_account_open_folder (account, g_strdup_printf ("/%s", user_email_address));
+	g_object_unref (folder);
+	path = g_strdup_printf ("/%s", user_email_address); 
+	exchange_account_open_folder (account, path);
+	g_free (user_email_address);
+	g_free (path);
 }
 
 void
