https://git.reactos.org/?p=reactos.git;a=commitdiff;h=37f38a80de200e2308487…
commit 37f38a80de200e2308487993f6d3de25e333e88c
Author: Eric Kohl <eric.kohl(a)reactos.org>
AuthorDate: Mon Jun 21 21:38:42 2021 +0200
Commit: Eric Kohl <eric.kohl(a)reactos.org>
CommitDate: Mon Jun 21 21:38:42 2021 +0200
[SAMSRV] Fix call to SamrCloseHandle in SamrGetDomainPasswordInformation
---
dll/win32/samsrv/samrpc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dll/win32/samsrv/samrpc.c b/dll/win32/samsrv/samrpc.c
index 17ebb5ab1be..9e443d00842 100644
--- a/dll/win32/samsrv/samrpc.c
+++ b/dll/win32/samsrv/samrpc.c
@@ -9571,7 +9571,7 @@ done:
SampCloseDbObject(DomainObject);
if (ServerHandle != NULL)
- SamrCloseHandle(ServerHandle);
+ SamrCloseHandle(&ServerHandle);
return Status;
}