Module: wine Branch: refs/heads/master Commit: c1a31cef3d9a611f0d8d42f4261acaa5b47e3c01 URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=c1a31cef3d9a611f0d8d42f4...
Author: Robert Shearman rob@codeweavers.com Date: Thu May 18 17:27:26 2006 +0100
rpcrt4: Don't release the auth info if it isn't present.
---
dlls/rpcrt4/rpc_transport.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/rpcrt4/rpc_transport.c b/dlls/rpcrt4/rpc_transport.c index 9758b6c..7e6ea97 100644 --- a/dlls/rpcrt4/rpc_transport.c +++ b/dlls/rpcrt4/rpc_transport.c @@ -484,7 +484,7 @@ RPC_STATUS RPCRT4_DestroyConnection(RpcC 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; }