[mapguide-commits] r4953 - trunk/MgDev/Server/src/Core
svn_mapguide at osgeo.org
svn_mapguide at osgeo.org
Thu Jun 17 12:52:57 EDT 2010
Author: brucedechant
Date: 2010-06-17 16:52:57 +0000 (Thu, 17 Jun 2010)
New Revision: 4953
Modified:
trunk/MgDev/Server/src/Core/main.cpp
Log:
Fix for trac ticket 1110.
http://trac.osgeo.org/mapguide/ticket/1110
Notes:
- Set memory checking to report only and not abort on Linux. (ie: Report double frees without aborting)
Note this does not apply to Windows because it does not abort on memory checks.
Modified: trunk/MgDev/Server/src/Core/main.cpp
===================================================================
--- trunk/MgDev/Server/src/Core/main.cpp 2010-06-17 16:46:41 UTC (rev 4952)
+++ trunk/MgDev/Server/src/Core/main.cpp 2010-06-17 16:52:57 UTC (rev 4953)
@@ -71,6 +71,11 @@
// we need initialize Xerces before BDB
XMLPlatformUtils::Initialize();
+#ifndef _WIN32
+ // Set memory checking to report only and not abort
+ mallopt(M_CHECK_ACTION, 1);
+#endif
+
MG_TRY()
{
More information about the mapguide-commits
mailing list