From 04d7e28a0bc12a7f5a30393938a227ad763bfcc6 Mon Sep 17 00:00:00 2001 From: Peter Williams Date: Mon, 9 Jul 2001 18:00:53 +0000 Subject: Some NULL protection for our strings: pgp_key, html_signature, smime_key. 2001-07-09 Peter Williams * mail-config.c (mail_config_write): Some NULL protection for our strings: pgp_key, html_signature, smime_key. Probably we should do this for all strings. Either that or change Bonobo Config. * message-list.c (message_list_init): Explicitly initialize search to NULL. Bug 3951 might to be due to a problem wrt this, and it can't hurt. svn path=/trunk/; revision=10919 --- mail/message-list.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'mail/message-list.c') diff --git a/mail/message-list.c b/mail/message-list.c index 92db0ff66f..c5f19abe9e 100644 --- a/mail/message-list.c +++ b/mail/message-list.c @@ -1084,6 +1084,8 @@ message_list_init (GtkObject *object) message_list->hide_before = ML_HIDE_NONE_START; message_list->hide_after = ML_HIDE_NONE_END; + message_list->search = NULL; + message_list->hide_lock = g_mutex_new(); message_list->uid_nodemap = g_hash_table_new (g_str_hash, g_str_equal); -- cgit v1.2.3