Re: memory leak, arcex.cpp, Line 94
-
Hello, I have been using _CrtSetDbgFlag ( _CRTDBG_ALLOC_MEM_DF | _CRTDBG_LEAK_CHECK_DF) to check for memory leaks and a memory leak has been at arcex.cpp, Line 94. It appears to me that memory is allocated when an Archive Exception is thrown. If it is possible, how can I get rid of this memory leak? Suggestions or help are appreciated. Mike
-
Hello, I have been using _CrtSetDbgFlag ( _CRTDBG_ALLOC_MEM_DF | _CRTDBG_LEAK_CHECK_DF) to check for memory leaks and a memory leak has been at arcex.cpp, Line 94. It appears to me that memory is allocated when an Archive Exception is thrown. If it is possible, how can I get rid of this memory leak? Suggestions or help are appreciated. Mike
mla154 wrote:
If it is possible, how can I get rid of this memory leak?
Catch the exception and delete the CArchiveException object?