Vtk_CtxtDelete
Toolkit Reference

prevnext

Vtk_CtxtDelete

#include <vtk_ctxt.h>
#include <vtk_err.h>
void Vtk_CtxtDelete(
Vtk_Ctxt *toFree /* input */
);

Description

This Toolkit context function releases memory and resources previously allocated by the Vtk_CtxtNew function. Once this function completes successfully, the Vtk_Ctxt structure becomes invalid.

Parameters

toFree Pointer to the Vtk_Ctxt structure for which memory and resources are to be released.

Return Value

none The function has completed successfully and the validation context has been deleted.

Notes

The application must call this function for each context created using Vtk_CtxtNew. If the application does not call Vtk_CtxtDelete, memory leaks and other problems can occur. For more information about the Toolkit memory model, see Toolkit Memory Model.


See Also

Vtk_CtxtNew

prevnext


ValiCert, Inc.
http://www.valicert.com
Voice: +1.650.567.5469
Fax: (+1.650.254.2148
support@valicert.com