notification_message_destroy()

Deallocate the memory used by a notification message structure.

Synopsis:

#include <bps/notification.h>
 
BPS_API void notification_message_destroy(notification_message_t **message)

Since:

BlackBerry 10.0.0

Arguments:

message

The notification_message_t structure to deallocate.

Library:

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

Description:

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.

Returns:

BPS_SUCCESS upon success, BPS_FAILURE with errno set otherwise.

Last modified: 2014-05-14



Got questions about leaving a comment? Get answers from our Disqus FAQ.

comments powered by Disqus