From f98d34d5d4083a1d8f2e41b91c2f2179fb0c263b Mon Sep 17 00:00:00 2001 From: 0 Date: Mon, 10 Sep 2001 15:48:46 +0000 Subject: Forgot to return the newly allocated msg. 2001-09-10 * providers/imap/camel-imap-store.c (camel_imap_msg_new): Forgot to return the newly allocated msg. svn path=/trunk/; revision=12729 --- camel/providers/imap/camel-imap-store.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'camel/providers/imap') 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) -- cgit v1.2.3