rpcrt4: Initialize the association UUID in RpcAssoc_Alloc.

This commit is contained in:
Hans Leidekker 2015-05-21 10:47:08 +02:00 committed by Alexandre Julliard
parent 852721863a
commit ab6361fbbf
1 changed files with 1 additions and 0 deletions

View File

@ -80,6 +80,7 @@ static RPC_STATUS RpcAssoc_Alloc(LPCSTR Protseq, LPCSTR NetworkAddr,
assoc->Endpoint = RPCRT4_strdupA(Endpoint); assoc->Endpoint = RPCRT4_strdupA(Endpoint);
assoc->NetworkOptions = NetworkOptions ? RPCRT4_strdupW(NetworkOptions) : NULL; assoc->NetworkOptions = NetworkOptions ? RPCRT4_strdupW(NetworkOptions) : NULL;
assoc->assoc_group_id = 0; assoc->assoc_group_id = 0;
UuidCreate(&assoc->http_uuid);
list_init(&assoc->entry); list_init(&assoc->entry);
*assoc_out = assoc; *assoc_out = assoc;
return RPC_S_OK; return RPC_S_OK;