Skip to content

Commit

Permalink
fix leak when fetching image
Browse files Browse the repository at this point in the history
  • Loading branch information
3nids committed Feb 5, 2018
1 parent 325af48 commit 37191a3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/core/layout/qgslayoutitempicture.cpp
Expand Up @@ -378,6 +378,7 @@ void QgsLayoutItemPicture::loadRemotePicture( const QString &url )
QImageReader imageReader( reply );
mImage = imageReader.read();
mMode = FormatRaster;
delete reply;
}
else
{
Expand Down

0 comments on commit 37191a3

Please sign in to comment.