Vtk_CertDelete
Toolkit Reference

prevnext

Vtk_CertDelete

#include <vtk_cert.h>
#include <vtk_defs.h>
void Vtk_CertDelete(
Vtk_Cert *cert /* input */
);

Description

This certificate encapsulation function releases memory allocated for certificate data and its structure. Once this function completes successfully, the Vtk_Cert structure becomes invalid.

Parameters

cert Certificate for which the memory is to be released.

Return Value
none The function has completed successfully and the Vtk_Cert structure has been deleted.

Notes

The application must call this function for each certificate created using Vtk_CertNew and certificate returned using the Vtk_CertGetIssuer function. If the application does not call Vtk_CertDelete, memory leaks and other problems can occur. For more information about the memory model employed by the Toolkit, see Toolkit Memory Model.


See Also

Vtk_Cert

Vtk_CertGetIssuer

Vtk_CertNew

prevnext


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