libjson memory leak?

Atuyo
2013-07-04
2013-07-04
  • Atuyo
    Atuyo
    2013-07-04

    I created a Win32 console app and in the main function, all I did was call libjson::parse with a valid JSON std string. I used the CRT memory leak checking in Visual Studio and memory leaks were detected. According to the example in basic_parser.htm, using libjson::parse would not require me to explicitly deallocate any memory so why do I get memory leaks detected when only the parse function was called? What is the correct way of using the library with no memory leaks?