diff -up evolution-data-server-3.8.5/camel/providers/local/camel-maildir-store.c.maildir-get-folder-use-after-free evolution-data-server-3.8.5/camel/providers/local/camel-maildir-store.c
--- evolution-data-server-3.8.5/camel/providers/local/camel-maildir-store.c.maildir-get-folder-use-after-free 2014-02-03 11:35:38.138877132 +0100
+++ evolution-data-server-3.8.5/camel/providers/local/camel-maildir-store.c 2014-02-03 11:35:38.297877125 +0100
@@ -207,7 +207,7 @@ maildir_store_get_folder_sync (CamelStor
/* Chain up to parent's get_folder() method. */
store_class = CAMEL_STORE_CLASS (camel_maildir_store_parent_class);
- if (!store_class->get_folder_sync (store, dir_name, flags, cancellable, error)) {
+ if (!store_class->get_folder_sync (store, name, flags, cancellable, error)) {
g_free (name);
return NULL;
}