PreviousNext

rpc_ss_client_free(3rpc)

Frees memory returned from a client stub

Used by client applications.

Synopsis

#include <dce/rpc.h>

void rpc_ss_client_free (idl_void_p_t node_to_free);

Parameters

Input

node_to_free
Specifies a pointer to memory returned from a client stub.

Description
The rpc_ss_client_free( ) routine releases memory allocated and returned from a client stub. The thread calling rpc_ss_client_free( ) must have the same thread handle as the thread that made the RPC call.

This routine enables a routine to deallocate dynamically allocated memory returned by an RPC call without knowledge of the memory management environment from which it was called.

Note that while this routine is always called from client code, the code can be executing as part of another server.

Return Values
No value is returned.

Related Information
Functions: rpc_ss_free(3rpc)

rpc_ss_get_thread_handle(3rpc)

rpc_ss_set_client_alloc_free(3rpc)

rpc_ss_set_thread_handle(3rpc)

rpc_ss_swap_client_alloc_free(3rpc)