mirror of
https://github.com/reactos/wine.git
synced 2025-01-23 04:15:48 +00:00
rpcrt4: Don't release the auth info if it isn't present.
This commit is contained in:
parent
ed62b0150c
commit
c1a31cef3d
@ -484,7 +484,7 @@ RPC_STATUS RPCRT4_DestroyConnection(RpcConnection* Connection)
|
||||
RPCRT4_CloseConnection(Connection);
|
||||
RPCRT4_strfree(Connection->Endpoint);
|
||||
RPCRT4_strfree(Connection->NetworkAddr);
|
||||
RpcAuthInfo_Release(Connection->AuthInfo);
|
||||
if (Connection->AuthInfo) RpcAuthInfo_Release(Connection->AuthInfo);
|
||||
HeapFree(GetProcessHeap(), 0, Connection);
|
||||
return RPC_S_OK;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user