1
0
mirror of https://github.com/clementine-player/Clementine synced 2025-01-31 03:27:40 +01:00

Fix small leak.

This commit is contained in:
John Maguire 2010-11-25 17:25:50 +00:00
parent b2ffc58070
commit 8ede752ff9

View File

@ -280,6 +280,9 @@ Song JamendoService::ReadTrack(const QString& artist,
}
void JamendoService::ParseDirectoryFinished() {
QFutureWatcher<void>* watcher = static_cast<QFutureWatcher<void>*>(sender());
delete watcher;
model()->task_manager()->SetTaskFinished(load_database_task_id_);
load_database_task_id_ = 0;
}