[dovecot-cvs] dovecot/src/lib module-dir.c,1.24,1.25
tss at dovecot.org
tss at dovecot.org
Sat Nov 4 19:49:17 UTC 2006
Update of /var/lib/cvs/dovecot/src/lib
In directory talvi:/tmp/cvs-serv30243
Modified Files:
module-dir.c
Log Message:
Call deinit() for all modules first before unloading them.
Index: module-dir.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib/module-dir.c,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -d -r1.24 -r1.25
--- module-dir.c 16 Sep 2006 13:40:17 -0000 1.24
+++ module-dir.c 4 Nov 2006 19:49:15 -0000 1.25
@@ -265,6 +265,10 @@
{
struct module *module, *next;
+ /* Call all modules' deinit() first, so that they may still call each
+ others' functions. */
+ module_dir_deinit(*modules);
+
for (module = *modules; module != NULL; module = next) {
next = module->next;
module_free(module);
More information about the dovecot-cvs
mailing list