[mapguide][MG177][Modified] Memory leak fixes + project fixes

Walt Welton-Lair walt.welton-lair at autodesk.com
Mon Apr 3 16:22:35 EDT 2006


You can view the artifact detail at the following URL:

    https://mapguide.osgeo.org/servlets/Scarab/id/MG177

Type:
Defect

Artifact ID:
MG177 (Memory leak fixes + project fixes)

Modified by:
Walt Welton-Lair
waltweltonlair (walt.welton-lair at autodesk.com)

The following modifications were made to this artifact:
---------------------------------------------------------------------

-- Developer Notes set to new value:
All of the leaks I found in the Common area were of the form:
    stream->WriteObject(GetItem(i));

The call to GetItem addref's, and so we need a matching release.

There was also a leak in MgServerManager::ComputeWIN32CpuLoad.  A call to GlobalAlloc did not have a matching call to GlobalFree.

ServerMappingService did not have a reference to the Xerces library, and this caused Insure++ to run into linker errors when trying to instrument this library.  I'm not 100% sure why there was no link error when not instrumenting.  One possibility is that we were inadvertently linking to the version of Xerces used by FDO.  That wouldn't be good.




---------------------------------------------------------------------
This message was automatically generated by Project Tracker.








More information about the Mapguide_issues mailing list