--- orig/xmms_scrobbler.c +++ mod/xmms_scrobbler.c @@ -344,6 +344,8 @@ /* keep current value for next iteration */ ps_p = ps_c; + if ( file_p != NULL ) + g_free(file_p); file_p = file_c; playtime_p = playtime_c; pos_p = pos_c;