Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix #105, double free when parse_string fails
This fixes a double free that happens when calling cJSON_Delete on an item that has been used by parse_string and it failed parsing the string. The double free happens, because parse_string frees an alias of item->valuestring, but doesn't set item->valuestring to NULL.
- Loading branch information