mirror of
https://github.com/clementine-player/Clementine
synced 2025-01-31 11:35:24 +01:00
Fix small leak.
This commit is contained in:
parent
b2ffc58070
commit
8ede752ff9
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user