aboutsummaryrefslogtreecommitdiffstats
path: root/camel
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2004-02-21 02:00:15 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2004-02-21 02:00:15 +0800
commit07d2720a34616d1372f62623b124962a7e6d6bf0 (patch)
tree1903a58b975aadd688a8d5426673aa498a8c01f9 /camel
parentd35abb451f163aa7583594a6bd99fa3480c6e9e6 (diff)
downloadgsoc2013-evolution-07d2720a34616d1372f62623b124962a7e6d6bf0.tar.gz
gsoc2013-evolution-07d2720a34616d1372f62623b124962a7e6d6bf0.tar.zst
gsoc2013-evolution-07d2720a34616d1372f62623b124962a7e6d6bf0.zip
Init list to NULL to prevent the crash in bug #54574.
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. svn path=/trunk/; revision=24819
Diffstat (limited to 'camel')
-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();