Skip to content

Commit 639d1b3

Browse files
committedFeb 1, 2016
Fix memory leak
1 parent ad39ddf commit 639d1b3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed
 

‎src/analysis/raster/qgsrastercalculator.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,7 @@ int QgsRasterCalculator::processCalculation( QProgressDialog* p )
100100
}
101101
if ( block->isEmpty() )
102102
{
103+
delete block;
103104
delete calcNode;
104105
qDeleteAll( inputBlocks );
105106
return static_cast<int>( MemoryError );

0 commit comments

Comments
 (0)
Please sign in to comment.