[mapserver-commits] r11264 - trunk/mapserver

svn at osgeo.org svn at osgeo.org
Fri Mar 18 15:12:44 EDT 2011


Author: rouault
Date: 2011-03-18 12:12:44 -0700 (Fri, 18 Mar 2011)
New Revision: 11264

Modified:
   trunk/mapserver/mapogr.cpp
Log:
fix mem leak

Modified: trunk/mapserver/mapogr.cpp
===================================================================
--- trunk/mapserver/mapogr.cpp	2011-03-18 19:07:58 UTC (rev 11263)
+++ trunk/mapserver/mapogr.cpp	2011-03-18 19:12:44 UTC (rev 11264)
@@ -3688,6 +3688,7 @@
     if( bOGRDriversRegistered == MS_TRUE )
     {
 #if GDAL_VERSION_NUM >= 1400
+        CPLPopErrorHandler();
         OGRCleanupAll();
         bOGRDriversRegistered = MS_FALSE;
 #endif



More information about the mapserver-commits mailing list