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?
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.