#1833: R_command_history() memory leak
---------------------------+------------------------------------------------
 Reporter:  jniesterowicz  |       Owner:  grass-dev@…              
     Type:  defect         |      Status:  new                      
 Priority:  normal         |   Milestone:  7.0.0                    
Component:  LibRaster      |     Version:  svn-trunk                
 Keywords:  history        |    Platform:  Linux                    
      Cpu:  Unspecified    |  
---------------------------+------------------------------------------------
 Hello,

 Function Rast_command_history() causes a memory leak of 1024 bytes + the
 size of command line.

 1024 bytes are allocated in Rast_recreate_command() and is no freed later.
 The rest of the leak comes from Rast_append_history(). This memory is not
 freed later as well.

 Jacek

-- 
Ticket URL: <http://trac.osgeo.org/grass/ticket/1833>
GRASS GIS <http://grass.osgeo.org>

_______________________________________________
grass-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-dev

Reply via email to