mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-29 00:03:59 -04:00
Fix memory leak
This commit is contained in:
parent
ad39ddfdd4
commit
639d1b3977
@ -100,6 +100,7 @@ int QgsRasterCalculator::processCalculation( QProgressDialog* p )
|
|||||||
}
|
}
|
||||||
if ( block->isEmpty() )
|
if ( block->isEmpty() )
|
||||||
{
|
{
|
||||||
|
delete block;
|
||||||
delete calcNode;
|
delete calcNode;
|
||||||
qDeleteAll( inputBlocks );
|
qDeleteAll( inputBlocks );
|
||||||
return static_cast<int>( MemoryError );
|
return static_cast<int>( MemoryError );
|
||||||
|
Loading…
x
Reference in New Issue
Block a user