https://git.reactos.org/?p=reactos.git;a=commitdiff;h=99d0a348aa4417672ad07720404765b4b2dbe9f5
commit 99d0a348aa4417672ad07720404765b4b2dbe9f5 Author: Serge Gautherie <[email protected]> AuthorDate: Sat May 23 19:07:04 2020 +0200 Commit: GitHub <[email protected]> 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);
