B
blugus
Hi Guys,
I've been try to use Dinkum STL library.
It workes well first, but report memory leak in MFC Debug Mode.
I use Dinkum Unabridged Library for VC++ V4.02, MSVC6, WIN2000 SERVER.
I made a dialog based program by MSVC6, inserted simple code to use
Dinkum STL Library, and added simple code like this.
// TODO: Add extra initialization here
std::list<int> *mylist = new std::list<int>;
mylist->push_back(1);
mylist->push_back(2);
mylist->clear();
delete mylist;
And I got memory leak message like this.
Detected memory leaks!
Dumping objects ->
{70} normal block at 0x003447F0, 200 bytes long.
Data: < > 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00
Object dump complete.
The thread 0x10F4 has exited with code 0 (0x0).
The program 'D:\zzzzzzzzzzzzz\Debug\zzzzzzzzzzzzz.exe' has exited with
code 0 (0x0).
I tested more complicate program, and got more leaks message.
Is a bug of Dinkum STL or MSVC6 or misuse?
blugus.
I've been try to use Dinkum STL library.
It workes well first, but report memory leak in MFC Debug Mode.
I use Dinkum Unabridged Library for VC++ V4.02, MSVC6, WIN2000 SERVER.
I made a dialog based program by MSVC6, inserted simple code to use
Dinkum STL Library, and added simple code like this.
// TODO: Add extra initialization here
std::list<int> *mylist = new std::list<int>;
mylist->push_back(1);
mylist->push_back(2);
mylist->clear();
delete mylist;
And I got memory leak message like this.
Detected memory leaks!
Dumping objects ->
{70} normal block at 0x003447F0, 200 bytes long.
Data: < > 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00
Object dump complete.
The thread 0x10F4 has exited with code 0 (0x0).
The program 'D:\zzzzzzzzzzzzz\Debug\zzzzzzzzzzzzz.exe' has exited with
code 0 (0x0).
I tested more complicate program, and got more leaks message.
Is a bug of Dinkum STL or MSVC6 or misuse?
blugus.