Deallocate the memory used by a navigator_invoke_timer_registration_t structure.
#include <bps/navigator_invoke.h>
BPS_API int navigator_invoke_timer_registration_destroy(navigator_invoke_timer_registration_t *reg)
BlackBerry 10.3.0
The navigator_invoke_timer_registration_t structure to deallocate.
The navigator_invoke_timer_registration_destroy() function deallocates memory allocated for a given navigator_invoke_timer_registration_t. Use this function to clean up resources used by a navigator_invoke_timer_registration_t structure (created by navigator_invoke_timer_registration_create()) that's no longer in use. Failure to do so will result in a memory leak.
BPS_SUCCESS upon success, BPS_FAILURE with errno set otherwise.