dovecot-2.0: dict: Unregister modules after unregistering dict d...
dovecot at dovecot.org
dovecot at dovecot.org
Mon Jun 28 15:08:54 EEST 2010
details: http://hg.dovecot.org/dovecot-2.0/rev/a1daaaa5d1f5
changeset: 11640:a1daaaa5d1f5
user: Timo Sirainen <tss at iki.fi>
date: Mon Jun 28 13:08:51 2010 +0100
description:
dict: Unregister modules after unregistering dict drivers.
Fixes a crash at deinit when sql drivers were built as plugins.
diffstat:
src/dict/main.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (16 lines):
diff -r c4194f5e3934 -r a1daaaa5d1f5 src/dict/main.c
--- a/src/dict/main.c Sun Jun 27 17:15:45 2010 +0000
+++ b/src/dict/main.c Mon Jun 28 13:08:51 2010 +0100
@@ -69,10 +69,10 @@
static void main_deinit(void)
{
dict_connections_destroy_all();
+ dict_drivers_unregister_all();
+
module_dir_unload(&modules);
- dict_drivers_unregister_all();
-
sql_drivers_deinit();
random_deinit();
}
More information about the dovecot-cvs
mailing list