diff options
author | Not Zed <NotZed@Ximian.com> | 2004-01-28 15:03:27 +0800 |
---|---|---|
committer | Michael Zucci <zucchi@src.gnome.org> | 2004-01-28 15:03:27 +0800 |
commit | e9cddebb2ed8e6d0289f883d6a05b2951198bcb0 (patch) | |
tree | 52073f5f6fda3a037be9694c2dbd3b20baf6e468 /mail/mail-ops.c | |
parent | 95b04534574e410732ffbee5545f93a67f1e07c7 (diff) | |
download | gsoc2013-evolution-e9cddebb2ed8e6d0289f883d6a05b2951198bcb0.tar.gz gsoc2013-evolution-e9cddebb2ed8e6d0289f883d6a05b2951198bcb0.tar.zst gsoc2013-evolution-e9cddebb2ed8e6d0289f883d6a05b2951198bcb0.zip |
ref folder from mail_component_get_folder.
2004-01-28 Not Zed <NotZed@Ximian.com>
* mail-send-recv.c (setup_send_data): ref folder from
mail_component_get_folder.
* mail-ops.c (fetch_mail_fetch): ref the folder we get from
mail_component_get_folder since it doesn't ref it.
svn path=/trunk/; revision=24485
Diffstat (limited to 'mail/mail-ops.c')
-rw-r--r-- | mail/mail-ops.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mail/mail-ops.c b/mail/mail-ops.c index 6cdfaad631..61dde23060 100644 --- a/mail/mail-ops.c +++ b/mail/mail-ops.c @@ -255,7 +255,8 @@ fetch_mail_fetch (struct _mail_msg *mm) if ((fm->destination = mail_component_get_folder(NULL, MAIL_COMPONENT_FOLDER_LOCAL_INBOX)) == NULL) goto fail; - + camel_object_ref(fm->destination); + /* FIXME: this should support keep_on_server too, which would then perform a spool access thingy, right? problem is matching raw messages to uid's etc. */ if (!strncmp (m->source_uri, "mbox:", 5)) { |