diff options
author | 0 <NotZed@Ximian.com> | 2001-09-10 23:48:46 +0800 |
---|---|---|
committer | Michael Zucci <zucchi@src.gnome.org> | 2001-09-10 23:48:46 +0800 |
commit | f98d34d5d4083a1d8f2e41b91c2f2179fb0c263b (patch) | |
tree | 823743bced2167ec0109b712ac66512e6da2f349 | |
parent | def88f65db9a9fcc55fc38732ad05865533fd59f (diff) | |
download | gsoc2013-evolution-f98d34d5d4083a1d8f2e41b91c2f2179fb0c263b.tar.gz 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
-rw-r--r-- | camel/ChangeLog | 5 | ||||
-rw-r--r-- | camel/providers/imap/camel-imap-store.c | 2 |
2 files changed, 7 insertions, 0 deletions
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 <NotZed@Ximian.com> + + * providers/imap/camel-imap-store.c (camel_imap_msg_new): Forgot + to return the newly allocated msg. + 2001-09-08 Not Zed <NotZed@Ximian.com> * 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) |