Ticket #34 (closed defect: fixed)
Memory leak in XML interface
| Reported by: | Freddie Akeroyd | Owned by: | |
|---|---|---|---|
| Priority: | major | Milestone: | NeXus 4.0 Ready |
| Component: | Version: | ||
| Keywords: | Cc: |
Description
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.
Change History
Note: See
TracTickets for help on using
tickets.

(In [872]) Stop memory leak in NXwhiteSpaceCallback by using static storage; not ideal, but works. Fixes #34.