Skip to content
Permalink
Browse files
fix for a memory leak
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 4afd55ac9332383d56fcdc190b97d2263bd59fcb
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/core/qgsmaprenderer.cpp
@@ -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 );

0 comments on commit 4afd55a

Please sign in to comment.