1
0
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:
John Maguire 2012-06-04 15:00:10 +02:00
parent 1f836d8e29
commit 2aafdf06e0

View File

@ -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(