diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2013-07-19 20:33:21 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2013-07-19 20:36:55 +0800 |
commit | 209387d4e37fe665c385ef56886b119f7896890f (patch) | |
tree | 924fcf252cb2e3e6336a8f6fb7e70ec118cd64a3 | |
parent | abf8270cd62bb456420788eea40ded0f834d7b55 (diff) | |
download | gsoc2013-evolution-209387d4e37fe665c385ef56886b119f7896890f.tar gsoc2013-evolution-209387d4e37fe665c385ef56886b119f7896890f.tar.gz gsoc2013-evolution-209387d4e37fe665c385ef56886b119f7896890f.tar.bz2 gsoc2013-evolution-209387d4e37fe665c385ef56886b119f7896890f.tar.lz gsoc2013-evolution-209387d4e37fe665c385ef56886b119f7896890f.tar.xz gsoc2013-evolution-209387d4e37fe665c385ef56886b119f7896890f.tar.zst gsoc2013-evolution-209387d4e37fe665c385ef56886b119f7896890f.zip |
MailFolderCache: Fix a crash when renaming folders.
-rw-r--r-- | libemail-engine/mail-folder-cache.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libemail-engine/mail-folder-cache.c b/libemail-engine/mail-folder-cache.c index c31e7a18a8..d536f6dabb 100644 --- a/libemail-engine/mail-folder-cache.c +++ b/libemail-engine/mail-folder-cache.c @@ -1111,7 +1111,7 @@ rename_folders (MailFolderCache *cache, old = g_strdup_printf ("%s%s", oldbase, fi->full_name + strlen (newbase)); old_folder_info = store_info_steal_folder_info (store_info, old); if (old_folder_info != NULL) { - up->oldfull = old_folder_info->full_name; + up->oldfull = g_strdup (old_folder_info->full_name); up->signal_id = signals[FOLDER_RENAMED]; folder_info_unref (old_folder_info); } |