Memory leaks detected using type char pointers in std::list

Posted by Dave18 on Stack Overflow See other posts from Stack Overflow or by Dave18
Published on 2010-04-16T13:45:45Z Indexed on 2010/04/16 13:53 UTC
Read the original article Hit count: 180

Filed under:
|

why i'm getting the memory leak errors without allocating or adding any elements to list below. should i just ignore it?

#define CRTDBG_MAP_ALLOC
#include <crtdbg.h>
#include <list>
using std::list;

int main()
{
    list <char*> roots;

    _CrtDumpMemoryLeaks();
}

© Stack Overflow or respective owner

Related posts about c++

Related posts about memory-leaks