# HG changeset patch
# User Mark Doliner <mark@kingant.net>
# Date 1162366193 0
# Node ID 14b1323524496fdeb7366735107a99651a0475d3
# Parent  c01f62c8364767f287ed7a052613f2aa3d5335a3
[gaim-migrate @ 17647]
sf patch #1588425, from Ka-Hing Cheung

According to glib-doc, "a GError* must be initialized
to NULL before passing its address to a function that
can report errors."

committer: Tailor Script <tailor@pidgin.im>

diff -r c01f62c83647 -r 14b132352449 libgaim/util.c
--- a/libgaim/util.c	Wed Nov 01 05:53:09 2006 +0000
+++ b/libgaim/util.c	Wed Nov 01 07:29:53 2006 +0000
@@ -2376,7 +2376,7 @@
 {
 	const char *user_dir = gaim_user_dir();
 	gchar *filename_full;
-	GError *error;
+	GError *error = NULL;
 	gchar *contents = NULL;
 	gsize length;
 	xmlnode *node = NULL;