IPB_Session interface:
FreeCallInfo method
Description
Frees memory allocated by InitCallInfo.
Syntax
FreeCallInfo(PBCallInfo *ci)
Argument |
Description |
---|---|
ci |
A pointer to the preallocated PBCallInfo structure |
Return Values
None.
Examples
FreeCallInfo should be called when the PBCallInfo structure is no longer needed:
Session->InvokeObjectFunction(myobj, mid, ci);
ret_val = ci.returnValue-> GetInt();
Session-> FreeCallInfo(ci);
delete ci;
return ret_val;
Usage
This method frees memory allocated by InitCallInfo but does not free the structure ci itself.