nRF Connect SDK API 0.1.0
Loading...
Searching...
No Matches

◆ nrf_cloud_obj_free()

int nrf_cloud_obj_free ( struct nrf_cloud_obj *const  obj)

#include <include/net/nrf_cloud_codec.h>

Free the memory of an initialized object.

Frees the object's memory; use nrf_cloud_obj_cloud_encoded_free to free cloud encoded data.

Parameters
[out]objObject to initialize.
Return values
-EINVALInvalid parameter.
-ENOMEMOut of memory.
-ENOTSUPAction not supported for the object's type.
0Success; memory freed.