[NeXus-code-tickets] [NeXusCode] #34: Memory leak in XML interface

NeXus Data Format Library and Applications noreply at nexusformat.org
Wed Mar 14 19:40:32 GMT 2007


#34: Memory leak in XML interface
----------------------------+-----------------------------------------------
Reporter:  Freddie Akeroyd  |       Owner:           
    Type:  defect           |      Status:  new      
Priority:  major            |   Milestone:  NeXus 4.0
Keywords:                   |  
----------------------------+-----------------------------------------------
 mxmlSaveFile() is passed the function NXwhitespaceCallback(), which
 allocates a string that is never deallocated. Using a static buffer is one
 way around this, but there may be a more elegant (and re-entrant/thread
 safe) solution.

-- 
Ticket URL: <http://trac.nexusformat.org/code/ticket/34>
NeXus Data Format Library and Applications <http://www.nexusformat.org/>
NeXus Data Format Library and Applications



More information about the NeXus-code-tickets mailing list