diff options
author | Milan Crha <mcrha@redhat.com> | 2013-01-29 23:51:51 +0800 |
---|---|---|
committer | Milan Crha <mcrha@redhat.com> | 2013-01-29 23:51:51 +0800 |
commit | 67bacdcdb41ab1f443b1fda9ae7813e06df2e0b1 (patch) | |
tree | 46e7462958f9589be65207f96767dd1bc31366e2 /mail | |
parent | 57adde4be6ef1709008dc27af43ada147cf21588 (diff) | |
download | gsoc2013-evolution-67bacdcdb41ab1f443b1fda9ae7813e06df2e0b1.tar gsoc2013-evolution-67bacdcdb41ab1f443b1fda9ae7813e06df2e0b1.tar.gz gsoc2013-evolution-67bacdcdb41ab1f443b1fda9ae7813e06df2e0b1.tar.bz2 gsoc2013-evolution-67bacdcdb41ab1f443b1fda9ae7813e06df2e0b1.tar.lz gsoc2013-evolution-67bacdcdb41ab1f443b1fda9ae7813e06df2e0b1.tar.xz gsoc2013-evolution-67bacdcdb41ab1f443b1fda9ae7813e06df2e0b1.tar.zst gsoc2013-evolution-67bacdcdb41ab1f443b1fda9ae7813e06df2e0b1.zip |
Bug #692777 - Crash on folder rename
Diffstat (limited to 'mail')
-rw-r--r-- | 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 342f10b70a..fc368f0c8b 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 ( |