Vtk_ExtensionDelete
Toolkit Reference

prevnext

Vtk_ExtensionDelete

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

Description

This extension function deletes an extension structure that contains the search results from the Vtk_ExtensionGetByOid or Vtk_ExtensionGetith functions.

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

Parameters

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

Return Value

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

Notes

The structure deleted by this function is different from the Vtk_Extensions structure returned by the Vtk_CertGetExtensions function
The application must call this function for the extension structure returned using the Vtk_ExtensionGetByOid or Vtk_ExtensionGetith function. If the application does not call Vtk_ExtensionDelete, 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_Extension

Vtk_ExtensionGetByOid

Vtk_ExtensionInit

Vtk_ExtensionNew

Vtk_ExtensionsGetith

prevnext


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