Ticket #3281 (closed defect: fixed)
[PATCH] Fix memory leak in DXF writer
|Reported by:||rouault||Owned by:||warmerdam|
ogr2ogr -f DXF out.dxf assorted.dxf shows memory leaks.
One fix is obvious (missing CSLDestroy()). The other one is less. I propose to fix it by deleting the poTool object returned by oSM.GetPart?(0), but I'm not clear if that matches the intended life cycle of this object. I suppose this is somewhat correct though as in MITAB's ITABFeaturePen::SetPenFromStyleString?() it looks similar.