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

David Blasby dblasby at refractions.net
Mon Apr 7 17:08:14 EDT 2003


Norman Vine wrote:

>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
>
I'm not advocating not deleting the reader - but its obviously a big 
hint as to why I'm having troubles.  I'm looking at the Readers code now.





More information about the geos-devel mailing list