Memory leak occurs when using the IDynamicDrawScreen.DrawScreenPolyline method.
上次发布: August 25, 2014ArcGIS Engine
漏洞 ID 编号
NIM058159
已提交
June 9, 2010
上次修改时间
June 5, 2024
适用范围
ArcGIS Engine
找到的版本
9.3.1
编程语言
C++
操作系统
Red Hat Enterprise Linux
操作系统版本
5
修正版本
10.1
状态
Fixed
此漏洞已得到修复。 有关详细信息,请参阅“版本修复”和“其他信息”(如果适用)。
解决办法
Use a multipoint instead of a polyline as the input to DrawScreenPolyline, the multipoint does not leak. When working with simple geometries it is better to use multipoints anyways, they display faster. Only use polylines and polygons if you need complex geometries. (Multipart, donut holes, etc.)