[postgis-tickets] [PostGIS] #2775: lwline_from_lwmpoint leaks memory

PostGIS trac at osgeo.org
Mon Jun 23 03:11:49 PDT 2014


#2775: lwline_from_lwmpoint leaks memory
---------------------+------------------------------------------------------
 Reporter:  strk     |       Owner:  pramsey
     Type:  defect   |      Status:  new    
 Priority:  medium   |   Milestone:         
Component:  postgis  |     Version:  2.1.x  
 Keywords:           |  
---------------------+------------------------------------------------------
 The lwline_from_lwmpoint function creates an lwline with a pointarray
 marked as "read-only" when instead the serialized point list is created
 internally to the function.

 Thanks Kashif Rasul for finding out:
 https://github.com/postgis/postgis/pull/23#issuecomment-46825167

 I hadn't checked up to which version the problem occurs.

-- 
Ticket URL: <http://trac.osgeo.org/postgis/ticket/2775>
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-tickets mailing list