• Rob Shearman's avatar
    rpcrt4: Add a reference to the binding object in I_RpcNegotiateTransferSyntax… · 8aeb2858
    Rob Shearman authored
    rpcrt4: Add a reference to the binding object in I_RpcNegotiateTransferSyntax and release the reference in I_RpcFreeBuffer.
    
    This is needed because a context binding handle could be released on 
    unmarshall, but it still needs to stay valid until the binding handle is 
    no longer being used.
    
    Re-use the previously unused RPCRT4_ExportBinding function as 
    RPCRT4_AddRefBinding and rename RPCRT4_DestroyBinding to 
    RPCRT4_ReleaseBinding to show that it's purpose is to release a 
    reference count and destroy if necessary, not always destroy.
    8aeb2858
rpc_binding.h 6.95 KB