[GRASS-user] OpenFileGDB input error

Even Rouault even.rouault at spatialys.com
Thu Sep 28 10:56:32 PDT 2017


> As of trunk r71513, v.in.ogr converts any curve types to linear 
equivalents
> with OGR_G_GetLinearGeometry().

r71513 is going to leak memory. The return of 
OGR_G_GetLinearGeometry() must be freed with 
OGR_G_DestroyGeometry()
(be careful to call it only on a Ogr_geometry returned by 
OGR_G_GetLinearGeometry() and not the one returned by 
OGR_F_GetGeometryRef())

-- 
Spatialys - Geospatial professional services
http://www.spatialys.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-user/attachments/20170928/dda99497/attachment.html>


More information about the grass-user mailing list