lastfm: use sink argument and fix possible usage of m_service after delete
This commit is contained in:
@@ -2231,7 +2231,7 @@ void ShowArtistInfo::run()
|
||||
|
||||
if (!artist.empty())
|
||||
{
|
||||
myLastfm->queueJob(LastFm::ArtistInfo(artist, Config.lastfm_preferred_language));
|
||||
myLastfm->queueJob(new LastFm::ArtistInfo(artist, Config.lastfm_preferred_language));
|
||||
myLastfm->switchTo();
|
||||
}
|
||||
# endif // HAVE_CURL_CURL_H
|
||||
|
||||
Reference in New Issue
Block a user