spellcheck_destroy()

Disconnect an instance of the spell check client and deallocate memory used by the spellcheck_context structure.

Synopsis:

#include <spellcheck_client.h>
 
void spellcheck_destroy(spellcheck_context_t *spellcheck_context)

Since:

BlackBerry 10.0.0

Arguments:

spellcheck_context

The spellcheck_context structure to deallocate.

Library:

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

Description:

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.

Returns:

Last modified: 2014-05-14



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

comments powered by Disqus