aboutsummaryrefslogtreecommitdiffstats
path: root/camel/providers
diff options
context:
space:
mode:
author0 <NotZed@Ximian.com>2001-09-10 23:48:46 +0800
committerMichael Zucci <zucchi@src.gnome.org>2001-09-10 23:48:46 +0800
commitf98d34d5d4083a1d8f2e41b91c2f2179fb0c263b (patch)
tree823743bced2167ec0109b712ac66512e6da2f349 /camel/providers
parentdef88f65db9a9fcc55fc38732ad05865533fd59f (diff)
downloadgsoc2013-evolution-f98d34d5d4083a1d8f2e41b91c2f2179fb0c263b.tar
gsoc2013-evolution-f98d34d5d4083a1d8f2e41b91c2f2179fb0c263b.tar.gz
gsoc2013-evolution-f98d34d5d4083a1d8f2e41b91c2f2179fb0c263b.tar.bz2
gsoc2013-evolution-f98d34d5d4083a1d8f2e41b91c2f2179fb0c263b.tar.lz
gsoc2013-evolution-f98d34d5d4083a1d8f2e41b91c2f2179fb0c263b.tar.xz
gsoc2013-evolution-f98d34d5d4083a1d8f2e41b91c2f2179fb0c263b.tar.zst
gsoc2013-evolution-f98d34d5d4083a1d8f2e41b91c2f2179fb0c263b.zip
Forgot to return the newly allocated msg.
2001-09-10 <NotZed@Ximian.com> * providers/imap/camel-imap-store.c (camel_imap_msg_new): Forgot to return the newly allocated msg. svn path=/trunk/; revision=12729
Diffstat (limited to 'camel/providers')
-rw-r--r--camel/providers/imap/camel-imap-store.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/camel/providers/imap/camel-imap-store.c b/camel/providers/imap/camel-imap-store.c
index ee5c0800fb..4dff0f3c62 100644
--- a/camel/providers/imap/camel-imap-store.c
+++ b/camel/providers/imap/camel-imap-store.c
@@ -195,6 +195,8 @@ CamelImapMsg *camel_imap_msg_new(void (*receive)(CamelImapStore *store, struct _
msg = g_malloc0(size);
msg->receive = receive;
msg->free = free;
+
+ return msg;
}
void camel_imap_msg_queue(CamelImapStore *store, CamelImapMsg *msg)