aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Malcolm <dmalcolm@redhat.com>2004-09-30 09:47:23 +0800
committerMichael Zucci <zucchi@src.gnome.org>2004-09-30 09:47:23 +0800
commita575a7229795651453ffdc8809a2f642b5e4a00c (patch)
treebec8f019b82353b3f4fa2f9d0537288596d54ccc
parent5103be62c00a46be13577eba02fcc7d4fbbbece6 (diff)
downloadgsoc2013-evolution-a575a7229795651453ffdc8809a2f642b5e4a00c.tar
gsoc2013-evolution-a575a7229795651453ffdc8809a2f642b5e4a00c.tar.gz
gsoc2013-evolution-a575a7229795651453ffdc8809a2f642b5e4a00c.tar.bz2
gsoc2013-evolution-a575a7229795651453ffdc8809a2f642b5e4a00c.tar.lz
gsoc2013-evolution-a575a7229795651453ffdc8809a2f642b5e4a00c.tar.xz
gsoc2013-evolution-a575a7229795651453ffdc8809a2f642b5e4a00c.tar.zst
gsoc2013-evolution-a575a7229795651453ffdc8809a2f642b5e4a00c.zip
fix uninitialised pointer.
2004-09-30 David Malcolm <dmalcolm@redhat.com> * em-migrate.c (upgrade_passwords_1_2): fix uninitialised pointer. svn path=/trunk/; revision=27433
-rw-r--r--mail/ChangeLog4
-rw-r--r--mail/em-migrate.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index cdbbc91493..259f4ba0d8 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,3 +1,7 @@
+2004-09-30 David Malcolm <dmalcolm@redhat.com>
+
+ * em-migrate.c (upgrade_passwords_1_2): fix uninitialised pointer.
+
2004-09-27 Jeffrey Stedfast <fejj@novell.com>
* em-account-editor.c: Changed the SSL option menu labels.
diff --git a/mail/em-migrate.c b/mail/em-migrate.c
index 6ffcb08e5e..87d200e2b8 100644
--- a/mail/em-migrate.c
+++ b/mail/em-migrate.c
@@ -698,7 +698,7 @@ upgrade_passwords_1_2(void)
{
xmlNodePtr root, entry;
char *filename;
- xmlDocPtr priv_doc;
+ xmlDocPtr priv_doc = NULL;
struct stat st;
int work = 0, res = -1;