Fix memory leak

This commit is contained in:
Nyall Dawson 2016-02-01 22:31:34 +11:00
parent ad39ddfdd4
commit 639d1b3977

View File

@ -100,6 +100,7 @@ int QgsRasterCalculator::processCalculation( QProgressDialog* p )
}
if ( block->isEmpty() )
{
delete block;
delete calcNode;
qDeleteAll( inputBlocks );
return static_cast<int>( MemoryError );