Module: wine Branch: master Commit: 5191498564d3949f1a2eb1922c72e116db19c0f4 URL: http://source.winehq.org/git/wine.git/?a=commit;h=5191498564d3949f1a2eb1922c...
Author: Rob Shearman rob@codeweavers.com Date: Tue Sep 18 16:31:55 2007 +0100
rpcrt4: Fix a copy-and-paste error in RpcAuthInfo_Release that caused a double free of memory.
---
dlls/rpcrt4/rpc_binding.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/rpcrt4/rpc_binding.c b/dlls/rpcrt4/rpc_binding.c index f69d290..2df1206 100644 --- a/dlls/rpcrt4/rpc_binding.c +++ b/dlls/rpcrt4/rpc_binding.c @@ -1001,7 +1001,7 @@ ULONG RpcAuthInfo_Release(RpcAuthInfo *AuthInfo) { HeapFree(GetProcessHeap(), 0, AuthInfo->nt_identity->User); HeapFree(GetProcessHeap(), 0, AuthInfo->nt_identity->Domain); - HeapFree(GetProcessHeap(), 0, AuthInfo->nt_identity->User); + HeapFree(GetProcessHeap(), 0, AuthInfo->nt_identity->Password); HeapFree(GetProcessHeap(), 0, AuthInfo->nt_identity); } HeapFree(GetProcessHeap(), 0, AuthInfo);