JagFreeSharedDataHandle

Description

Release the shared variable handle.

Syntax

JagStatus JagFreeSharedDataHandle (
            JagSharedData * pData)

Parameters

pData

The address of the shared variable handle.

Returns

Return value

To indicate

JAG_SUCCEED

Success

JAG_FAIL

Failure

Check the server’s log file for more information when JagFreeSharedDataHandle fails.

Usage

You must release the shared variable handle, otherwise a memory leak will occur.

Before releasing the shared variable handle, you must release the handle of the collection to which the shared variable belongs.

See Appendix C, “Creating C Components,” in the EAServer Programmer’s Guide for more information.

See also

JagFreeCollectionHandle, JagGetSharedData, JagGetSharedDataByIndex, JagNewSharedData, JagNewSharedDataByIndex