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

PostGIS trac at osgeo.org
Tue Jul 5 13:59:11 PDT 2011


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

Comment(by strk):

 This seems to also leak on error:
 {{{
 lwgeom_from_ewkt("POLYHEDRALSURFACE(((0 1 2,3 4 5,6 7,0 1 2)))",
 PARSER_CHECK_NONE);
 }}}

 It leaks a POINARRAY allocated by wkt_parser_ptarray_new (lwin_wkt.c:259)

-- 
Ticket URL: <http://trac.osgeo.org/postgis/ticket/1102#comment:14>
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