changeset
Wed, 01 Nov 2006 07:29:53 +0000
- author
- Ka-Hing Cheung <khc@pidgin.im>
- date
- Wed, 01 Nov 2006 07:29:53 +0000
- changeset 14940
- e52ddc253fee
- parent 14939
- 7ec81b1b7bba
- child 14941
- 0c27c799be04
[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: Mark Doliner <markdoliner@pidgin.im>
--- 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;