From 94218f071a73dd432d1240ff2feffed13ea1fd97 Mon Sep 17 00:00:00 2001 From: Colin Leroy Date: Fri, 3 Mar 2006 19:02:40 +0000 Subject: [PATCH] 2006-03-03 [colin] 2.0.0cvs102 * src/common/plugin.c Initialize error to avoid crashing when a plugin fails without setting error --- ChangeLog | 6 ++++++ PATCHSETS | 1 + configure.ac | 2 +- src/common/plugin.c | 2 +- 4 files changed, 9 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 36d5592f9..6e6e063dc 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2006-03-03 [colin] 2.0.0cvs102 + + * src/common/plugin.c + Initialize error to avoid crashing when a plugin fails + without setting error + 2006-03-02 [wwp] 2.0.0cvs101 * configure.ac diff --git a/PATCHSETS b/PATCHSETS index 059260f66..c145a6f6a 100644 --- a/PATCHSETS +++ b/PATCHSETS @@ -1285,3 +1285,4 @@ ( cvs diff -u -r 1.18.2.29 -r 1.18.2.30 src/plugins/spamassassin/spamassassin.c; ) > 2.0.0cvs99.patchset ( cvs diff -u -r 1.60.2.49 -r 1.60.2.50 src/addressbook.c; ) > 2.0.0cvs100.patchset ( cvs diff -u -r 1.654.2.1330 -r 1.654.2.1331 configure.ac; ) > 2.0.0cvs101.patchset +( cvs diff -u -r 1.13.2.17 -r 1.13.2.18 src/common/plugin.c; ) > 2.0.0cvs102.patchset diff --git a/configure.ac b/configure.ac index e3c1f2219..c977f6166 100644 --- a/configure.ac +++ b/configure.ac @@ -11,7 +11,7 @@ MINOR_VERSION=0 MICRO_VERSION=0 INTERFACE_AGE=0 BINARY_AGE=0 -EXTRA_VERSION=101 +EXTRA_VERSION=102 EXTRA_RELEASE= EXTRA_GTK2_VERSION= diff --git a/src/common/plugin.c b/src/common/plugin.c index 5bfb8c32a..33b097c24 100644 --- a/src/common/plugin.c +++ b/src/common/plugin.c @@ -336,7 +336,7 @@ void plugin_load_all(const gchar *type) gchar *rcpath; gchar buf[BUFFSIZE]; PrefFile *pfile; - gchar *error, *block; + gchar *error = NULL, *block; plugin_types = g_slist_append(plugin_types, g_strdup(type)); -- 2.25.1