Skip to content

Commit

Permalink
Fix memory leak
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Feb 1, 2016
1 parent ad39ddf commit 639d1b3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/analysis/raster/qgsrastercalculator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ int QgsRasterCalculator::processCalculation( QProgressDialog* p )
}
if ( block->isEmpty() )
{
delete block;
delete calcNode;
qDeleteAll( inputBlocks );
return static_cast<int>( MemoryError );
Expand Down

0 comments on commit 639d1b3

Please sign in to comment.