Fix QNetworkReply leak.

This commit is contained in:
John Maguire 2012-06-04 15:00:10 +02:00
parent 1f836d8e29
commit 2aafdf06e0
1 changed files with 1 additions and 0 deletions

View File

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