Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
9ccce0ce
Commit
9ccce0ce
authored
Jan 10, 2018
by
Matteo Bruni
Committed by
Alexandre Julliard
Jan 11, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
advapi32/tests: Fix a couple of leaks (Valgrind).
Signed-off-by:
Matteo Bruni
<
mbruni@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
fc92960c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
security.c
dlls/advapi32/tests/security.c
+3
-0
No files found.
dlls/advapi32/tests/security.c
View file @
9ccce0ce
...
...
@@ -6571,6 +6571,8 @@ static void test_system_security_access(void)
/* privilege is checked on access */
err
=
GetSecurityInfo
(
hkey
,
SE_REGISTRY_KEY
,
SACL_SECURITY_INFORMATION
,
NULL
,
NULL
,
NULL
,
&
sacl
,
&
sd
);
todo_wine
ok
(
err
==
ERROR_PRIVILEGE_NOT_HELD
,
"got %u
\n
"
,
err
);
if
(
err
==
ERROR_SUCCESS
)
LocalFree
(
sd
);
priv
.
PrivilegeCount
=
1
;
priv
.
Privileges
[
0
].
Luid
=
luid
;
...
...
@@ -7085,6 +7087,7 @@ static void test_token_security_descriptor(void)
CloseHandle
(
info
.
hThread
);
LocalFree
(
acl_child
);
HeapFree
(
GetProcessHeap
(),
0
,
sd2
);
LocalFree
(
psid
);
CloseHandle
(
token3
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment