Skip to content

Commit 769fb73

Browse files
committed
cosmetics
1 parent ae08056 commit 769fb73

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/security.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ PACL _app_createaccesscontrollist (
5353
{
5454
PACCESS_ALLOWED_ACE ace = NULL;
5555
EXPLICIT_ACCESS ea[3] = {0};
56-
PACL new_dacl;
56+
PACL new_dacl = NULL;
5757
ULONG count = 0;
5858
BOOLEAN is_currentuserhaverights = FALSE;
5959
BOOLEAN is_openforeveryone = FALSE;
@@ -144,7 +144,7 @@ VOID _app_setexplicitaccess (
144144
ea->grfAccessPermissions = rights;
145145
ea->grfInheritance = inheritance;
146146

147-
RtlZeroMemory (&(ea->Trustee), sizeof (ea->Trustee));
147+
RtlZeroMemory (&(ea->Trustee), sizeof (TRUSTEE_W));
148148

149149
BuildTrusteeWithSidW (&(ea->Trustee), sid);
150150
}

0 commit comments

Comments
 (0)