https://git.reactos.org/?p=reactos.git;a=commitdiff;h=99d0a348aa4417672ad07…
commit 99d0a348aa4417672ad07720404765b4b2dbe9f5
Author: Serge Gautherie <32623169+SergeGautherie(a)users.noreply.github.com>
AuthorDate: Sat May 23 19:07:04 2020 +0200
Commit: GitHub <noreply(a)github.com>
CommitDate: Sat May 23 19:07:04 2020 +0200
[LSASRV] LsapLogonUser(): Fix 'AuthenticatingAuthority' copypasta (#2839)
Reported by contributor 'qarmin'.
CORE-17074
---
dll/win32/lsasrv/authpackage.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dll/win32/lsasrv/authpackage.c b/dll/win32/lsasrv/authpackage.c
index de140375867..ef8f80ae57e 100644
--- a/dll/win32/lsasrv/authpackage.c
+++ b/dll/win32/lsasrv/authpackage.c
@@ -1801,7 +1801,7 @@ done:
/* Free the authentication authority */
if (AuthenticatingAuthority != NULL)
{
- if (AuthenticatingAuthority != NULL)
+ if (AuthenticatingAuthority->Buffer != NULL)
LsapFreeHeap(AuthenticatingAuthority->Buffer);
LsapFreeHeap(AuthenticatingAuthority);