nRF Connect SDK API 2.8.99
|
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.
[out] | obj | Object to initialize. |
-EINVAL | Invalid parameter. |
-ENOMEM | Out of memory. |
-ENOTSUP | Action not supported for the object's type. |
0 | Success; memory freed. |