[evolution] Bug #692777 - Crash on folder rename



commit 67bacdcdb41ab1f443b1fda9ae7813e06df2e0b1
Author: Milan Crha <mcrha redhat com>
Date:   Tue Jan 29 16:51:51 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 342f10b..fc368f0 100644
--- a/mail/e-mail-backend.c
+++ b/mail/e-mail-backend.c
@@ -649,9 +649,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++) {
@@ -668,6 +665,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]