aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--camel/ChangeLog5
-rw-r--r--camel/camel-provider.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/camel/ChangeLog b/camel/ChangeLog
index 6c4e951062..b3b14beafb 100644
--- a/camel/ChangeLog
+++ b/camel/ChangeLog
@@ -1,3 +1,8 @@
+2004-02-20 Jeffrey Stedfast <fejj@ximian.com>
+
+ * camel-provider.c (camel_provider_list): Init list to NULL to
+ prevent the crash in bug #54574.
+
2004-02-19 Chris Toshok <toshok@ximian.com>
* camel-smime-context.c: wrap this file with #ifdef ENABLE_SMIME
diff --git a/camel/camel-provider.c b/camel/camel-provider.c
index be15aed046..e2cc71523c 100644
--- a/camel/camel-provider.c
+++ b/camel/camel-provider.c
@@ -282,7 +282,7 @@ add_to_list (gpointer key, gpointer value, gpointer user_data)
GList *
camel_provider_list(gboolean load)
{
- GList *list;
+ GList *list = NULL;
LOCK();