rpcrt4: Fix a memory leak when freeing an association by deleting the critical section.
This commit is contained in:
parent
5fb5fccac0
commit
867cc3c05f
|
@ -1541,6 +1541,8 @@ ULONG RpcAssoc_Release(RpcAssoc *assoc)
|
|||
HeapFree(GetProcessHeap(), 0, assoc->NetworkAddr);
|
||||
HeapFree(GetProcessHeap(), 0, assoc->Protseq);
|
||||
|
||||
DeleteCriticalSection(&assoc->cs);
|
||||
|
||||
HeapFree(GetProcessHeap(), 0, assoc);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue