[mapguide-trac] #291: Symbolization: Fix various problems in
the stylization code
MapGuide Open Source
trac_mapguide at osgeo.org
Sun Nov 11 02:44:48 EST 2007
#291: Symbolization: Fix various problems in the stylization code
----------------------------+-----------------------------------------------
Reporter: waltweltonlair | Owner: waltweltonlair
Type: defect | Status: assigned
Priority: high | Milestone: 2.0
Component: Server | Version:
Severity: major | Resolution:
Keywords: | External_id:
----------------------------+-----------------------------------------------
Comment (by waltweltonlair):
Fixed a couple of memory leaks in the stylization and rendering code:
* SE_LineBuffer::Clone was overwriting a !LineBuffer pointer without
first deleting it
* The Renderer base class did not declare a virtual destructor. Deleting
a Renderer pointer (which now happens in many places in
!MgServerRenderingService) would therefore not result in the destructors
of the derived classes to be called, resulting in big leaks. The Renderer
class and all derived classes now have virtual destructors.
http://trac.osgeo.org/mapguide/changeset/2408
--
Ticket URL: <https://trac.osgeo.org/mapguide/ticket/291#comment:14>
MapGuide Open Source <http://mapguide.osgeo.org/>
MapGuide Open Source Internals
More information about the mapguide-trac
mailing list