adamstark/AudioFile

Memory leaaks by _CrtDumpMemoryLeaks()

lvheqiang117 opened this issue · 1 comments

It shows memory leaaks by _CrtDumpMemoryLeaks() , I just include the "AudioFile.h". Why?

This is because of a global object aiffSampleRateTable on the line 239. _CrtDumpMemoryLeaks can be false positive when it is called before destructors of global objects.