|Oracle Call Interface Programmer's Guide
Release 2 (9.2)
Part Number A96584-01
More OCI Relational Functions, 79 of 106
Destroy and deallocate the key pointed to by
The OCI environment or user session handle.
The OCI error handle. If there is an error and OCI_ERROR is returned, the error is recorded in
err and diagnostic information can be obtained by calling
The OCIThreadKey in which to destroy the key.
This is different from the destructor function callback passed to the key create routine. This new destroy function
OCIThreadKeyDestroy() is used to terminate any resources OCI THREAD acquired when it created
OCIThreadKeyDestFunc callback of
OCIThreadKeyInit() is a key VALUE destructor; it does in no way operate on the key itself.
This must be called once the user has finished using the key. Not calling the key destroy function may result in memory leaks.