Chapter 5 C Routines Reference


JagFreeSharedDataHandle

Description

Release the shared variable handle.

Syntax

JagStatus JagFreeSharedDataHandle (
JagSharedData * pData)

Parameters

pData 

The address of the shared variable handle.

Return Values

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 "Share Data Between C Components" in the Jaguar CTS Programmer's Guide for more information.

See Also

JagFreeCollectionHandle, JagGetSharedData, JagGetSharedDataByIndex, JagNewSharedData, JagNewSharedDataByIndex

 


Copyright © 2000 Sybase, Inc. All rights reserved.