[postgis-devel] [PostGIS] #1102: Memory leaks in liblwgeom ?

PostGIS trac at osgeo.org
Mon Jul 4 15:05:48 PDT 2011


#1102: Memory leaks in liblwgeom ?
---------------------+------------------------------------------------------
 Reporter:  strk     |       Owner:  pramsey      
     Type:  defect   |      Status:  new          
 Priority:  medium   |   Milestone:  PostGIS 2.0.0
Component:  postgis  |     Version:  trunk        
 Keywords:           |  
---------------------+------------------------------------------------------

Comment(by pramsey):

 You have shown this patch to affect your TIN case? Because I feel like
 I've tracked the TIN case to an altogether different piece of code, the
 roll-back code in the WKT parser which goes into effect when an error is
 caught. It correctly rolls back objects still on the parser stack, but at
 the time the error is forced for your case the ptarray has already been
 moved off the stack so it doesn't get freed.

 This is not to say that the semantics of clone() might be wrong/off, they
 just don't seem germane to the original ticket issue.

-- 
Ticket URL: <http://trac.osgeo.org/postgis/ticket/1102#comment:6>
PostGIS <http://trac.osgeo.org/postgis/>
The PostGIS Trac is used for bug, enhancement & task tracking, a user and developer wiki, and a view into the subversion code repository of PostGIS project.


More information about the postgis-devel mailing list