]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
master: Another deinit crashfix
authorTimo Sirainen <tss@iki.fi>
Tue, 10 Feb 2009 03:44:42 +0000 (22:44 -0500)
committerTimo Sirainen <tss@iki.fi>
Tue, 10 Feb 2009 03:44:42 +0000 (22:44 -0500)
--HG--
branch : HEAD

src/master/mail-process.c

index 875df684b59c69bb6abf7fe534913069ebf7db42..e58944706e140a1642e98db87c786926f1d01559 100644 (file)
@@ -950,8 +950,6 @@ void mail_processes_init(void)
 
 void mail_processes_deinit(void)
 {
-       /* don't free() the mail process groups. child_process structs are
-          still referenced in child-processes and we may need to look them up.
-          This deinit code needs a redesign.. */
-       hash_table_destroy(&mail_process_groups);
+       /* we may still end up in mail_process_destroyed(), so don't free
+          anything. This deinit code needs a redesign.. */
 }