rpcrt4: Fix a copy-and-paste error in RpcAuthInfo_Release that caused a double free of memory.

This commit is contained in:
Rob Shearman 2007-09-18 16:31:55 +01:00 committed by Alexandre Julliard
parent b64ceefde3
commit 5191498564
1 changed files with 1 additions and 1 deletions

View File

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