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

This commit is contained in:
Robert Shearman 2006-05-18 17:27:26 +01:00 committed by Alexandre Julliard
parent ed62b0150c
commit c1a31cef3d
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}