[dovecot-cvs] dovecot/src/imap imap-thread.c,1.36,1.37
tss at dovecot.org
tss at dovecot.org
Thu Jan 25 17:23:14 UTC 2007
Update of /var/lib/cvs/dovecot/src/imap
In directory talvi:/tmp/cvs-serv20206
Modified Files:
imap-thread.c
Log Message:
Memory leak fix
Index: imap-thread.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/imap/imap-thread.c,v
retrieving revision 1.36
retrieving revision 1.37
diff -u -d -r1.36 -r1.37
--- imap-thread.c 20 Dec 2006 05:54:13 -0000 1.36
+++ imap-thread.c 25 Jan 2007 17:23:12 -0000 1.37
@@ -2156,8 +2156,6 @@
i_assert(tbox->msgid_hash == NULL);
- box->v.close = imap_thread_mailbox_close;
-
tbox->msgid_hash =
mail_hash_open(ibox->index, ".thread", create ?
MAIL_HASH_OPEN_FLAG_CREATE : 0,
@@ -2198,6 +2196,7 @@
tbox = i_new(struct imap_thread_mailbox, 1);
tbox->super = box->v;
+ box->v.close = imap_thread_mailbox_close;
array_idx_set(&box->module_contexts,
imap_thread_storage_module_id, &tbox);
More information about the dovecot-cvs
mailing list