[geos-devel] problems with C/C++- getting warmer! (Reader Frees toomuch?)

Norman Vine nhv at cape.com
Mon Apr 7 17:03:41 EDT 2003


David Blasby writes:
> 
> Norman,
> 
>     Could you give this little C++ code a try?  Then try it again 
> without the "delete r;  delete w;" lines commented out.
> On my linux system, it works with the 2 lines commented out, but fails 
> with them actually in.  More specficially it
> fails if the reader (r) is deleted.  

Sure this works OK albeit but will leak a bit of memory

Norman



More information about the geos-devel mailing list