[geos-devel] WKTReader memory leak

strk at refractions.net strk at refractions.net
Thu Oct 21 02:58:27 EDT 2004


On Wed, Oct 20, 2004 at 09:46:04PM -0700, Carlos A. Rueda wrote:
> Hi,
> 
> While trying to process a bunch of polygons from a shapefile, I noticed 
> that the holes vector in WKTReader::readPolygonText(StringTokenizer 
> *tokenizer) doesn't get released if the wkt happens to be invalid (say, 
> it's not a closed ring) (well, valgrind helped me find the leak). 
> 
> Thanks for your attention.  GEOS is great!
> 
> -c

Fixed. Thanks!
--strk;



More information about the geos-devel mailing list