[gdal-dev] Re: Memory leaks in Geo::OGR::Geometry Points() swig Perl function

2012-03-14 Thread Ari Jolma
On 03/14/2012 01:34 PM, Ari Jolma wrote: On 03/14/2012 12:59 PM, Ivan Balashov wrote: I appologize that it is memory leak within Points() function. After some research I conclude that in several cases the returned value was not made "mortal", i.e., the Perl variables could not be garbage c

[gdal-dev] Re: Memory leaks in Geo::OGR::Geometry Points() swig Perl function

2012-03-14 Thread Ari Jolma
On 03/14/2012 12:59 PM, Ivan Balashov wrote: Hello, Ari! We are using Geo::OGR perl library installed from FreeBSD gdal port (http://www.freebsd.org/cgi/cvsweb.cgi/ports/graphics/gdal/) ver. 1.8.1 with perl v5.10.1 for geomery operations on forest fire polygons, in particular, Points functio