[mapguide-internals] Found at least one memory leaks in
Mapguide API
Bruno Scott
bscott at geomapgis.com
Wed Jul 8 08:19:43 EDT 2009
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.
More information about the mapguide-internals
mailing list