changeset 8739:88ae612dc221 HEAD

master: Another deinit crashfix
author Timo Sirainen <tss@iki.fi>
date Mon, 09 Feb 2009 22:44:42 -0500
parents ce8f8ca3ac35
children 743cc6ff3d89
files src/master/mail-process.c
diffstat 1 files changed, 2 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/src/master/mail-process.c	Mon Feb 09 21:04:08 2009 -0500
+++ b/src/master/mail-process.c	Mon Feb 09 22:44:42 2009 -0500
@@ -950,8 +950,6 @@
 
 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.. */
 }