Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix big memory leak in point locator
  • Loading branch information
nyalldawson committed Jul 21, 2018
1 parent c7e914c commit ce1291a
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/core/qgspointlocator.cpp
Expand Up @@ -809,7 +809,6 @@ bool QgsPointLocator::rebuildIndex( int maxFeaturesToIndex )
if ( ctx && renderer )
{
renderer->stopRender( *ctx );
renderer.release();
}
return true;
}
Expand Down Expand Up @@ -861,7 +860,6 @@ void QgsPointLocator::onFeatureAdded( QgsFeatureId fid )
}

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

0 comments on commit ce1291a

Please sign in to comment.