Hi.
I had a strange memory leak in simple project with DLL usage detected by MSVC.
Code:
Detected memory leaks!
Dumping objects ->
{55} normal block at 0x010A2E30, 37 bytes long.
Data: < C > 00 43 00 CD CD CD CD CD CD CD CD CD CD CD CD CD
{54} normal block at 0x010A2DD8, 44 bytes long.
Data: < |L > 14 7C 4C 10 16 00 00 00 00 00 00 00 00 00 00 00
Object dump complete.
Once I put Bounds Checker it shows me the memory leak on std::locale::_Init() -> locale0.cpp. The call stack shows it came from std::ios_base::Init::Init() -> <iostream>
Then I created simple MSVC dialog project, and only included <iostream>. The same memory leak appears there.
And as you can see there are some more leaks. Searching google gave me no result.
Is it supposed to be that way ?