[mapguide-internals] Found at least one memory leaks in
Mapguide API
Bruce Dechant
bruce.dechant at autodesk.com
Wed Jul 8 14:35:46 EDT 2009
Big thank you for investigating this!!!!
Bruce
-----Original Message-----
From: mapguide-internals-bounces at lists.osgeo.org [mailto:mapguide-internals-bounces at lists.osgeo.org] On Behalf Of Bruno Scott
Sent: Wednesday, July 08, 2009 6:20 AM
To: mapguide-internals at lists.osgeo.org
Subject: RE: [mapguide-internals] Found at least one memory leaks in Mapguide API
Yes!
I found it
I has looking at the wrong place.
Same king of bug as the previous ones
int WebLayout.cpp in the ParseFlyoutWidget function there was
else if(strName == L"SubItem") //NOXLATE
{
widget->AddSubItem(ParseWidget(elt));
}
It need to be replaced by
else if(strName == L"SubItem") //NOXLATE
{
Ptr<MgWebWidget> subWidget = ParseWidget(elt);
widget->AddSubItem(subWidget);
}
With all 4 fixes, w3w memory is stable, no more memory leaks on the
MgWebLayout
Bruno
--
View this message in context: http://n2.nabble.com/Found-at-least-one-memory-leaks-in-Mapguide-API-tp3212879p3225104.html
Sent from the MapGuide Internals mailing list archive at Nabble.com.
_______________________________________________
mapguide-internals mailing list
mapguide-internals at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-internals
More information about the mapguide-internals
mailing list