Ticket #45 (closed defect: fixed)
Memory leak writing a NeXus file using compression
|Reported by:||Freddie Akeroyd||Owned by:||Mark Koennecke|
|Priority:||major||Milestone:||NeXus 4.0 Release|
It concerns a memory leak occuring only if one writes a NeXus file using compression. I've made tests with zlib and szlib but the leak is present with both. To show the problem the test program reads a binary file and writes its content as a dataset using (or not) the compression.
As attached files you'll find the test program, the binary data file and valgrind outputs with and without compression (LZW method with zlib)
All tests using Napi 4.0rc1 under linux rhel4 and compiled with gcc 3.4.4.