[mapguide-commits] r10126 - branches/4.0/MgDev/Common/CoordinateSystem

svn_mapguide at osgeo.org svn_mapguide at osgeo.org
Wed Mar 26 06:43:15 PDT 2025


Author: jng
Date: 2025-03-26 06:43:13 -0700 (Wed, 26 Mar 2025)
New Revision: 10126

Modified:
   branches/4.0/MgDev/Common/CoordinateSystem/CoordSysCategoryDictionary.cpp
Log:
Fix delete mismatch as reported by asan

Modified: branches/4.0/MgDev/Common/CoordinateSystem/CoordSysCategoryDictionary.cpp
===================================================================
--- branches/4.0/MgDev/Common/CoordinateSystem/CoordSysCategoryDictionary.cpp	2025-02-17 11:00:54 UTC (rev 10125)
+++ branches/4.0/MgDev/Common/CoordinateSystem/CoordSysCategoryDictionary.cpp	2025-03-26 13:43:13 UTC (rev 10126)
@@ -552,7 +552,7 @@
 
     MG_CATCH(L"MgCoordinateSystemCategoryDictionary.Has")
 
-        delete pName;
+        delete[] pName;
         pName = NULL;
 
     MG_THROW()



More information about the mapguide-commits mailing list