[dovecot-cvs] dovecot-lda/src deliver.c,1.44,1.45

cras at dovecot.org cras at dovecot.org
Thu Apr 13 21:45:52 EEST 2006


Update of /var/lib/cvs/dovecot-lda/src
In directory talvi:/tmp/cvs-serv23719

Modified Files:
	deliver.c 
Log Message:
Unload modules after destroying storages



Index: deliver.c
===================================================================
RCS file: /var/lib/cvs/dovecot-lda/src/deliver.c,v
retrieving revision 1.44
retrieving revision 1.45
diff -u -d -r1.44 -r1.45
--- deliver.c	13 Apr 2006 18:28:56 -0000	1.44
+++ deliver.c	13 Apr 2006 18:45:50 -0000	1.45
@@ -690,10 +690,11 @@
 	mailbox_close(&box);
 
         duplicate_deinit();
-	module_dir_unload(&modules);
         mail_storage_destroy(&mbox_storage);
         mail_storage_destroy(&storage);
-        mail_storage_deinit();
+
+	module_dir_unload(&modules);
+	mail_storage_deinit();
 	dict_client_unregister();
 	lib_signals_deinit();
 



More information about the dovecot-cvs mailing list