[dovecot-cvs] dovecot/src/lib-storage/index/dbox dbox-storage.c, 1.47, 1.48

tss at dovecot.org tss at dovecot.org
Fri Mar 30 21:45:24 EEST 2007


Update of /var/lib/cvs/dovecot/src/lib-storage/index/dbox
In directory talvi:/tmp/cvs-serv29978/index/dbox

Modified Files:
	dbox-storage.c 
Log Message:
cleaned up mailbox closing code



Index: dbox-storage.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib-storage/index/dbox/dbox-storage.c,v
retrieving revision 1.47
retrieving revision 1.48
diff -u -d -r1.47 -r1.48
--- dbox-storage.c	30 Mar 2007 18:41:06 -0000	1.47
+++ dbox-storage.c	30 Mar 2007 18:45:21 -0000	1.48
@@ -498,8 +498,7 @@
 	dbox_uidlist_deinit(mbox->uidlist);
 	if (mbox->file != NULL)
 		dbox_file_close(mbox->file);
-        index_storage_mailbox_free(box);
-	return 0;
+        return index_storage_mailbox_close(box);
 }
 
 static void dbox_notify_changes(struct mailbox *box)



More information about the dovecot-cvs mailing list