diff src/scrobbler/configure.c @ 347:f1b620b679b1 trunk

[svn] - make sure username is NULL
author nenolod
date Sat, 09 Dec 2006 02:36:47 -0800
parents 03c1ae10bc8d
children 8879027752ef
line wrap: on
line diff
--- a/src/scrobbler/configure.c	Fri Dec 08 19:34:32 2006 -0800
+++ b/src/scrobbler/configure.c	Sat Dec 09 02:36:47 2006 -0800
@@ -200,6 +200,7 @@
                 if (username) {
                         gtk_entry_set_text(GTK_ENTRY(entry1), username);
                         g_free(username);
+			username = NULL;
                 }
                 bmp_cfg_db_get_string(db, "audioscrobbler", "ge_username",
                         &username);