From 2aafdf06e045cc41791f824c103d77398fc07055 Mon Sep 17 00:00:00 2001 From: John Maguire Date: Mon, 4 Jun 2012 15:00:10 +0200 Subject: [PATCH] Fix QNetworkReply leak. --- src/songinfo/songkickconcerts.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/songinfo/songkickconcerts.cpp b/src/songinfo/songkickconcerts.cpp index 1c8421819..28607445a 100644 --- a/src/songinfo/songkickconcerts.cpp +++ b/src/songinfo/songkickconcerts.cpp @@ -163,6 +163,7 @@ void SongkickConcerts::CalendarRequestFinished(QNetworkReply* reply, int id) { void SongkickConcerts::InjectImage( QNetworkReply* reply, SongInfoTextView* text_view) { + reply->deleteLater(); QImage image; image.load(reply, "png"); text_view->document()->addResource(