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)

Arguments:

spellcheck_context

The spellcheck_context structure to deallocate.

Library:

libspellcheck_client

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: 2013-12-21

comments powered by Disqus