scrobbler2: Fix memory allocation problems.