[postgis-tickets] [PostGIS] #2643: [raster] memory leaks

PostGIS trac at osgeo.org
Tue Mar 4 07:12:46 PST 2014


#2643: [raster] memory leaks
--------------------+-------------------------------------------------------
 Reporter:  yngwar  |       Owner:  dustymugs    
     Type:  defect  |      Status:  new          
 Priority:  medium  |   Milestone:  PostGIS 2.1.2
Component:  raster  |     Version:  2.1.x        
 Keywords:          |  
--------------------+-------------------------------------------------------

Comment(by dustymugs):

 PostgreSQL memory contexts automatically clean up those "dangling" memory
 allocations when the context itself is freed (I noticed you mentioned
 RASTER_out). For code running outside of PostgreSQL (such as raster2pgsql
 and the CUnit unit tests), we explicitly free those memory allocations.

 All raster code gets repeatedly tested with valgrind to find these memory
 issues and I can't find any at the present time.

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