[geos-devel] WKTReader memory leak

Carlos A. Rueda carueda at ucdavis.edu
Thu Oct 21 00:46:04 EDT 2004


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




More information about the geos-devel mailing list