- Correctly call LsarClose in DsRolepGetBasicInfo

svn path=/trunk/; revision=68880
This commit is contained in:
Thomas Faber 2015-08-31 13:46:38 +00:00
parent c51b0c1318
commit 847346ed85

View file

@ -61,7 +61,7 @@ DsRolepGetBasicInfo(
Status = LsarQueryInformationPolicy(PolicyHandle, Status = LsarQueryInformationPolicy(PolicyHandle,
PolicyAccountDomainInformation, PolicyAccountDomainInformation,
&PolicyInfo); &PolicyInfo);
LsarClose(PolicyHandle); LsarClose(&PolicyHandle);
if (!NT_SUCCESS(Status)) if (!NT_SUCCESS(Status))
{ {
TRACE("LsarQueryInformationPolicy with NT status %x\n", TRACE("LsarQueryInformationPolicy with NT status %x\n",