Skip to content
Permalink
Browse files

Fix big memory leak in point locator

(cherry-picked from ce1291a)
  • Loading branch information
nyalldawson committed Jul 21, 2018
1 parent 1edf372 commit 00d3a610f7cf0555bcaea637ef3225bbb7f2ac60
Showing with 0 additions and 2 deletions.
  1. +0 −2 src/core/qgspointlocator.cpp
@@ -809,7 +809,6 @@ bool QgsPointLocator::rebuildIndex( int maxFeaturesToIndex )
if ( ctx && renderer )
{
renderer->stopRender( *ctx );
renderer.release();
}
return true;
}
@@ -861,7 +860,6 @@ void QgsPointLocator::onFeatureAdded( QgsFeatureId fid )
}

renderer->stopRender( *ctx );
renderer.release();
if ( pass )
return;
}

0 comments on commit 00d3a61

Please sign in to comment.
You can’t perform that action at this time.