Vtk_ValQueriesDelete
Toolkit Reference

prevnext

Vtk_ValQueriesDelete

#include <vtk_valid.h>
#include <vtk_err.h>
void Vtk_ValQueriesDelete(
Vtk_ValQuery **queriesToDelete
);



Description

This validation query function releases memory and resources occupied by the Vtk_ValQuery array allocated by the Vtk_ValidationGetQueries function. However, the response data in each Vtk_ValQuery is not released and remains the responsibility of the application. Once this function completes successfully, the Vtk_ValQuery structure becomes invalid.

Parameters

queriesToDelete Pointer to the Vtk_ValQuery structure for which memory and resources are to be released.

Return Value

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

Notes

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



See Also

Vtk_ValQuery

Vtk_ValidationGetQueries

Vtk_ValidationValidateFromQueries

prevnext


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