[MSV1_0]
authorTimo Kreuzer <timo.kreuzer@reactos.org>
Sat, 2 Nov 2013 18:34:18 +0000 (18:34 +0000)
committerTimo Kreuzer <timo.kreuzer@reactos.org>
Sat, 2 Nov 2013 18:34:18 +0000 (18:34 +0000)
Fix a bug (LsarClose must be passed a pointer to a LSAPR_HANDLE, not the handle itself)

svn path=/trunk/; revision=60838

reactos/dll/win32/msv1_0/msv1_0.c

index c279b01..90a43d3 100644 (file)
@@ -540,7 +540,7 @@ BuildTokenPrivileges(PTOKEN_PRIVILEGES *TokenPrivileges)
 
 done:
     if (PolicyHandle != NULL)
-        LsarClose(PolicyHandle);
+        LsarClose(&PolicyHandle);
 
     return Status;
 }