Where does this leak come from?
A week ago, I started working on a JSON parser for C++. I have succeeded in making it capable of detecting, what I believe to be, all syntax problems, and I have also created a data structure that holds all the information from the JSON. However, when I use Valgrind to analyze it, I notice that when a syntax problem occurs, Valgrind shows that there are probably 144 bytes leaked. This quantity seems independent of the JSON size.I would appreciate it if someone could review my code and help me identify where the leak might be coming from.Thank you.