navigator_invoke_timer_registration_destroy()

Deallocate the memory used by a navigator_invoke_timer_registration_t structure.

Synopsis:

#include <bps/navigator_invoke.h>
 
BPS_API int navigator_invoke_timer_registration_destroy(navigator_invoke_timer_registration_t *reg)

Since:

BlackBerry 10.3.0

Arguments:

reg

The navigator_invoke_timer_registration_t structure to deallocate.

Library:

libbps (For the qcc command, use the -l bps option to link against this library)

Description:

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.

Returns:

BPS_SUCCESS upon success, BPS_FAILURE with errno set otherwise.