Vtk_ValidationDelete
Toolkit Reference

prevnext

Vtk_ValidationDelete

#include <vtk_valid.h>
#include <vtk_err.h>
void Vtk_ValidationDelete(
Vtk_Validation *val /* input */
);

Description

This validation function releases memory and resources previously allocated to the validation query structure with the Vtk_ValidationNew function. Once this function completes successfully, the Vtk_Validation structure becomes invalid.

Parameters

val Pointer to the Vtk_Validation query structure for which memory and resources are to be released.

Return Value

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

Notes

The entire structure and all validation queries contained within are released. The application must call this function for each validation query structure created using Vtk_ValidationNew. If the application does not call Vtk_ValidationDelete, memory leaks and other problems can occur. For more information about the Toolkit memory model, see Toolkit Memory Model.



See Also

Vtk_ValidationGetValHdl

prevnext


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