Closed dokutoku closed 2 years ago
This line and this line should not use the free() function, but should use jsonp_free() or the free function obtained with json_get_alloc_funcs().
Jansson uses malloc by default, so using free is correct in programs that don't call json_set_alloc_funcs.
malloc
free
json_set_alloc_funcs
This line and this line should not use the free() function, but should use jsonp_free() or the free function obtained with json_get_alloc_funcs().