Deallocate the memory used by a notification message structure.
#include <bps/notification.h>
BPS_API void notification_message_destroy(notification_message_t **message)
BlackBerry 10.0.0
The notification_message_t structure to deallocate.
The notification_message_destroy() function deallocates any memory set to a given message. Use this function to deallocate memory used by a notification_message_t structure that's no longer in use. Failing to do so will result in a memory leak.
BPS_SUCCESS upon success, BPS_FAILURE with errno set otherwise.