mirror of
https://github.com/clementine-player/Clementine
synced 2024-12-17 03:45:56 +01:00
Fix QNetworkReply leak.
This commit is contained in:
parent
1f836d8e29
commit
2aafdf06e0
@ -163,6 +163,7 @@ void SongkickConcerts::CalendarRequestFinished(QNetworkReply* reply, int id) {
|
|||||||
|
|
||||||
void SongkickConcerts::InjectImage(
|
void SongkickConcerts::InjectImage(
|
||||||
QNetworkReply* reply, SongInfoTextView* text_view) {
|
QNetworkReply* reply, SongInfoTextView* text_view) {
|
||||||
|
reply->deleteLater();
|
||||||
QImage image;
|
QImage image;
|
||||||
image.load(reply, "png");
|
image.load(reply, "png");
|
||||||
text_view->document()->addResource(
|
text_view->document()->addResource(
|
||||||
|
Loading…
Reference in New Issue
Block a user