Deallocate memory used by a spellcheck_suggestions_t structure.
#include <spellcheck_client.h>
void spellcheck_suggestions_destroy(spellcheck_suggestions_t *word_suggestions)
BlackBerry 10.0.0
The spellcheck_suggestions_t structure to deallocate.
The spellcheck_suggestions_destroy() function deallocates any memory set to a given instance of a spellcheck_suggestions_t structure, destroying the spelling suggestions contained within. Use this function to deallocate memory used by a spellcheck_suggestions_t structure that's no longer in use. Failing to do so will result in a memory leak.