diff src/scrobbler/configure.c @ 364:50347c06ec68 trunk

[svn] - make scrobbler behave better - put xspf check back in configure.ac (oops)
author nenolod
date Mon, 11 Dec 2006 06:07:12 -0800
parents 6f97100467cf
children d124034ebea3
line wrap: on
line diff
--- a/src/scrobbler/configure.c	Mon Dec 11 05:19:44 2006 -0800
+++ b/src/scrobbler/configure.c	Mon Dec 11 06:07:12 2006 -0800
@@ -267,6 +267,7 @@
                 if (username) {
                         gtk_entry_set_text(GTK_ENTRY(ge_entry1), username);
                         g_free(username);
+			username = NULL;
                 }
 		// hatena
                 bmp_cfg_db_get_string(db, "audioscrobbler", "ha_username",
@@ -274,6 +275,7 @@
                 if (username) {
                         gtk_entry_set_text(GTK_ENTRY(ha_entry1), username);
                         g_free(username);
+			username = NULL;
                 }
                 bmp_cfg_db_close(db);
         }