Fix a bug (LsarClose must be passed a pointer to a LSAPR_HANDLE, not the handle itself)

svn path=/trunk/; revision=60838
This commit is contained in:
Timo Kreuzer 2013-11-02 18:34:18 +00:00
parent 1b54b4882c
commit 2324ecfbb8

View file

@ -540,7 +540,7 @@ BuildTokenPrivileges(PTOKEN_PRIVILEGES *TokenPrivileges)
done:
if (PolicyHandle != NULL)
LsarClose(PolicyHandle);
LsarClose(&PolicyHandle);
return Status;
}