Disconnect an instance of the spell check client and deallocate memory used by the spellcheck_context structure.
#include <spellcheck_client.h>
void spellcheck_destroy(spellcheck_context_t *spellcheck_context)
BlackBerry 10.0.0
The spellcheck_context structure to deallocate.
The spellcheck_destroy() function deallocates any memory set to a given instance of the spell check client. Use this function to deallocate memory used by a spellcheck_context structure (created by the spellcheck_init() function) that's no longer in use. Failing to do so will result in a memory leak.