Missing declaration for json_object_free?
Closed this issue · 2 comments
whitsonk commented
If I use json_value_get_object should I not eventually call json_object_free to avoid a memory leak? If so, should the declaration be added to parson.h?
Compile time error...
error: 'json_object_free' was not declared in this scope.
Thanks.
kgabis commented
No, use json_value_free on root value.
whitsonk commented
Wow... That was fast!
Thanks