diff options
author | Milan Crha <mcrha@redhat.com> | 2014-01-31 13:21:05 +0100 |
---|---|---|
committer | Milan Crha <mcrha@redhat.com> | 2014-01-31 13:21:05 +0100 |
commit | 5490f4e1f34f2c76d80e2eed04c2a0de192ae314 (patch) | |
tree | 6be32144995e086f7caaf486f4b47d2a1c653218 | |
parent | 18f99668f6cf89cdd625052bc1982e50782c99cd (diff) | |
download | evolution-data-server-5490f4e1f34f2c76d80e2eed04c2a0de192ae314.tar.gz |
maildir_store_get_folder_sync: Fix a use-after-free issue
-rw-r--r-- | camel/providers/local/camel-maildir-store.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/camel/providers/local/camel-maildir-store.c b/camel/providers/local/camel-maildir-store.c index 9aa6a34d3..665b64c43 100644 --- a/camel/providers/local/camel-maildir-store.c +++ b/camel/providers/local/camel-maildir-store.c @@ -207,7 +207,7 @@ maildir_store_get_folder_sync (CamelStore *store, /* 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; } |