[0.4.9][LSASRV] LsapLogonUser(): Fix 'AuthenticatingAuthority' copypasta (#2839)

Reported by contributor 'qarmin', found by static code analysis.
CORE-17074

The glitch once was introduced 7 years ago by SVN r58933 == git 7934e35cdf
There is no real-world-issue known to date caused by this bug.

fix cherry picked from commit 0.4.15-dev-303-g 99d0a348aa
This commit is contained in:
Joachim Henze 2021-06-20 15:41:06 +02:00
parent af690c1224
commit 0fc75d6692

View file

@ -1709,7 +1709,7 @@ done:
/* Free the authentication authority */
if (AuthenticatingAuthority != NULL)
{
if (AuthenticatingAuthority != NULL)
if (AuthenticatingAuthority->Buffer != NULL)
LsapFreeHeap(AuthenticatingAuthority->Buffer);
LsapFreeHeap(AuthenticatingAuthority);