The memory returned by the pointer returned from cJSON_PrintUnformatted() in below file must be freed.
https://github.com/NordicPlayground/fw-nrfconnect-nrf/blob/master/lib/modem_info/modem_info_json.c
The memory returned by the pointer returned from cJSON_PrintUnformatted() in below file must be freed.
https://github.com/NordicPlayground/fw-nrfconnect-nrf/blob/master/lib/modem_info/modem_info_json.c
Hi,
I agree, this is a bug.
Thanks for reporting, and helping us improve the quality of the code base!
Kind regards,
Håkon
Hi,
I agree, this is a bug.
Thanks for reporting, and helping us improve the quality of the code base!
Kind regards,
Håkon