Skip to content

Commit

Permalink
fix for a memory leak
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@10515 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
mhugent committed Apr 9, 2009
1 parent e2e944d commit 4afd55a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/qgsmaprenderer.cpp
Expand Up @@ -469,9 +469,9 @@ void QgsMapRenderer::render( QPainter* painter )
( *allOverlayIt )->drawOverlayObjects( mRenderContext );
}
overlayManager->removeLayers();
delete overlayManager;
}

delete overlayManager;
// make sure progress bar arrives at 100%!
emit drawingProgress( 1, 1 );

Expand Down

0 comments on commit 4afd55a

Please sign in to comment.