[QGIS Commit] r10515 - trunk/qgis/src/core

svn_qgis at osgeo.org svn_qgis at osgeo.org
Thu Apr 9 08:15:00 EDT 2009


Author: mhugent
Date: 2009-04-09 08:15:00 -0400 (Thu, 09 Apr 2009)
New Revision: 10515

Modified:
   trunk/qgis/src/core/qgsmaprenderer.cpp
Log:
fix for a memory leak

Modified: trunk/qgis/src/core/qgsmaprenderer.cpp
===================================================================
--- trunk/qgis/src/core/qgsmaprenderer.cpp	2009-04-09 00:51:09 UTC (rev 10514)
+++ trunk/qgis/src/core/qgsmaprenderer.cpp	2009-04-09 12:15:00 UTC (rev 10515)
@@ -469,9 +469,9 @@
       ( *allOverlayIt )->drawOverlayObjects( mRenderContext );
     }
     overlayManager->removeLayers();
-    delete overlayManager;
   }
 
+    delete overlayManager;
   // make sure progress bar arrives at 100%!
   emit drawingProgress( 1, 1 );
 



More information about the QGIS-commit mailing list