Vtk_ExtensionsDelete
Toolkit Reference

prevnext

Vtk_ExtensionsDelete

#include <vtk_cert.h>
#include <vtk_defs.h>
#include <vtk_errs.h>
void Vtk_ExtensionsDelete(
Vtk_Extensions *ext /* input */
);

Description

This extensions function releases memory allocated for an extensions structure created by the Vtk_CertGetExtensions function.

Once this function completes successfully, the Vtk_Extensions structure becomes invalid.

Parameters

ext Extensions structure for which the memory is to be released.

Return Value

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

Notes

The application must call this function for the extensions structure returned using the Vtk_CertGetExtensions function. If the application does not call Vtk_ExtensionsDelete to release memory allocated to this structure, memory leaks and other problems can occur. For more information about the memory model employed by the Toolkit, see Toolkit Memory Model.
The Toolkit also provides the Vtk_ExtensionDelete function for deleting an individual Vtk_Extension structure returned as part of the various extension parsing functions.



See Also

Vtk_Extensions

Vtk_ValRespDetails

Vtk_ValRespSingleCertDetails

Vtk_CertGetExtensions

Vtk_ErrorToString_r

prevnext


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