Free the resources that were allocated for a sensor_info_t structure.
BPS_API int sensor_info_destroy(sensor_info_t *info)
- The sensor_info_t structure to free.
The sensor_info_destroy() function frees the resources that were allocated for the specified sensor_info_t structure.
BPS_SUCCESS upon success, BPS_FAILURE with errno set otherwise.