Commit c1a31cef authored by Robert Shearman's avatar Robert Shearman Committed by Alexandre Julliard

rpcrt4: Don't release the auth info if it isn't present.

parent ed62b015
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment