Free the resources that were allocated for a sensor information structure.
#include <bps/sensor.h>
BPS_API int sensor_info_destroy(sensor_info_t *info)
BlackBerry 10.0.0
A pointer to the sensor_info_t structure to free.
The sensor_info_destroy() function releases the resources that were allocated for the specified sensor_info_t structure.
BPS_SUCCESS upon successfully completing the function, BPS_FAILURE with errno value set otherwise.