mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-15 00:04:00 -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() )
|
||||
{
|
||||
delete block;
|
||||
delete calcNode;
|
||||
qDeleteAll( inputBlocks );
|
||||
return static_cast<int>( MemoryError );
|
||||
|
Loading…
x
Reference in New Issue
Block a user