Memory Leak or compiler setting?

"Schoenberger" <[email protected]> Fri, 31 Mar 2017 16:48:00 +0200
Newsgroups gmane.comp.video.openexr.devel
Message-ID <90A668D31F9C4E98A6CE5429F246DAC6@elliot>
Hi
 
I have a memory leak if the file reader throws an exception that the file ends earlier than expected. (+ 0.4 MB every time)
I have tested it with Visual Studio (C++ exception handling off) and with Linux (default flags). 
 
I am just using this code and already get an exception
file = new Imf::RgbaInputFile(filename);
with this file:
 <http://www.binaryalchemy.de/ftp_file/Exr-memleak.zip> www.binaryalchemy.de/ftp_file/Exr-memleak.zip
 
 
Can someone using this code try to load the file 10 times and check if he gets the same memory leak?
 
 
Thanks,
Holger Schönberger
Binary Alchemy - digital materialization

_______________________________________________
Openexr-devel mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/openexr-devel