[evolution/gnome-3-6] Bug #692777 - Crash on folder rename



commit 0559de901e376c897515d684b357e6d9566f3b89
Author: Milan Crha <mcrha redhat com>
Date:   Tue Jan 29 16:52:45 2013 +0100

    Bug #692777 - Crash on folder rename

 mail/e-mail-backend.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/mail/e-mail-backend.c b/mail/e-mail-backend.c
index 24a46ed..bad33f5 100644
--- a/mail/e-mail-backend.c
+++ b/mail/e-mail-backend.c
@@ -685,9 +685,6 @@ mail_backend_folder_renamed_cb (MailFolderCache *folder_cache,
 
 	g_list_free_full (list, (GDestroyNotify) g_object_unref);
 
-	g_free (old_uri);
-	g_free (new_uri);
-
 	/* Rename GalView files. */
 
 	for (ii = 0; ii < G_N_ELEMENTS (cachenames); ii++) {
@@ -704,6 +701,9 @@ mail_backend_folder_renamed_cb (MailFolderCache *folder_cache,
 		g_free (newname);
 	}
 
+	g_free (old_uri);
+	g_free (new_uri);
+
 	/* This does something completely different.
 	 * XXX Make it a separate signal handler? */
 	mail_filter_rename_folder (



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]