Open hstern opened 9 years ago
Rebased against master
I can confirm that this memory leak still exists in YAJL, and that this fixes it. It would be nice to see this merged.
This has been open for 3 months now and it's an easy fix. What's the hold up?
Checking in. This has been open for 9 months now.
1 year and 4 months now. Does @lloyd still exist?
There's been lots of forks of this lib and still no @lloyd maybe it's time to find a maintainer and create an "official" fork.
Hey @lloyd, you there?
Hi, Lloyd, is there any chances to have this PR merged?
The yajl_tree_parse function does not deallocate ctx.stack when yajl_complete_parse returns an error condition, resulting in a memory leak. The solution is to pop all elements off the stack and yajl_tree_free their values.