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/ChangeLog | 5 +++++ camel/providers/imap/camel-imap-store.c | 2 ++ 2 files changed, 7 insertions(+) diff --git a/camel/ChangeLog b/camel/ChangeLog index 2e0473e300..8cc9dc50bd 100644 --- a/camel/ChangeLog +++ b/camel/ChangeLog @@ -1,3 +1,8 @@ +2001-09-10 + + * providers/imap/camel-imap-store.c (camel_imap_msg_new): Forgot + to return the newly allocated msg. + 2001-09-08 Not Zed * providers/local/camel-spool-summary.c (spool_summary_sync_full): Likewise. 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