Skip to content

Commit 37191a3

Browse files
authored
fix leak when fetching image
1 parent 325af48 commit 37191a3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/core/layout/qgslayoutitempicture.cpp

+1
Original file line numberDiff line numberDiff line change
@@ -378,6 +378,7 @@ void QgsLayoutItemPicture::loadRemotePicture( const QString &url )
378378
QImageReader imageReader( reply );
379379
mImage = imageReader.read();
380380
mMode = FormatRaster;
381+
delete reply;
381382
}
382383
else
383384
{

0 commit comments

Comments
 (0)