From c1a31cef3d9a611f0d8d42f4261acaa5b47e3c01 Mon Sep 17 00:00:00 2001 From: Robert Shearman Date: Thu, 18 May 2006 17:27:26 +0100 Subject: [PATCH] rpcrt4: Don't release the auth info if it isn't present. --- dlls/rpcrt4/rpc_transport.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/rpcrt4/rpc_transport.c b/dlls/rpcrt4/rpc_transport.c index 9758b6c70c8..7e6ea9771e7 100644 --- a/dlls/rpcrt4/rpc_transport.c +++ b/dlls/rpcrt4/rpc_transport.c @@ -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; } -- 2.11.4.GIT