I hope someone can help me. I could not find the problem.
I have an std::deque as class member variable. the class is in a dll file project and I am using visual studio 2010.
at some time, I use push_back() exactly as follows:
m_Test.push_back("test");
at the exit of the software memory leaks are detected.
when I remove the push instruction, no memory leak!!
whatever I've done I couldn't solve the problem.
can anyone please give me an idea where to search.
part of Memory leak Log:
Data: <0c > 30 63 19 05 00 00 00 00
{4270} normal block at 0x05196330, 32 bytes long.
Data: < c test > 90 63 19 05 74 65 73 74 00 CD CD CD CD CD CD CD
{4262} normal block at 0x05195C60, 8 bytes long.
Data: < b > D0 62 19 05 00 00 00 00
{4261} normal block at 0x051962D0, 32 bytes long.
Data: <`\ test > 60 5C 19 05 74 65 73 74 00 CD CD CD CD CD CD CD
{4253} normal block at 0x05196230, 8 bytes long.
Data: < a > D0 61 19 05 00 00 00 00
{4252} normal block at 0x051961D0, 32 bytes long.
Data: <0b test > 30 62 19 05 74 65 73 74 00 CD CD CD CD CD CD CD
{4244} normal block at 0x05196188, 8 bytes long.
Data: <(a > 28 61 19 05 00 00 00 00
{4243} normal block at 0x05196128, 32 bytes long.
Data: < a test > 88 61 19 05 74 65 73 74 00 CD CD CD CD CD CD CD
{4235} normal block at 0x05195A58, 8 bytes long.
Data: < ` > C8 60 19 05 00 00 00 00
{4234} normal block at 0x051960C8, 32 bytes long.
Data: <XZ test > 58 5A 19 05 74 65 73 74 00 CD CD CD CD CD CD CD
{4226} normal block at 0x05196028, 8 bytes long.
Data: < _ > C8 5F 19 05 00 00 00 00
{4225} normal block at 0x05195FC8, 32 bytes long.
Data: <(` test > 28 60 19 05 74 65 73 74 00 CD CD CD CD CD CD CD
{4207} normal block at 0x05195F80, 8 bytes long.
Data: < _ > 20 5F 19 05 00 00 00 00
{4206} normal block at 0x05195F20, 32 bytes long.
Data: < _ test > 80 5F 19 05 74 65 73 74 00 CD CD CD CD CD CD CD
{4198} normal block at 0x05195850, 8 bytes long.
Data: < ^ > C0 5E 19 05 00 00 00 00