Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
ba3e0742
Commit
ba3e0742
authored
Jan 18, 2019
by
Sven Baars
Committed by
Alexandre Julliard
Jan 18, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntdll/tests: Fix some string leaks (Valgrind).
Signed-off-by:
Sven Baars
<
sven.wine@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
5e677bee
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
0 deletions
+4
-0
file.c
dlls/ntdll/tests/file.c
+2
-0
reg.c
dlls/ntdll/tests/reg.c
+2
-0
No files found.
dlls/ntdll/tests/file.c
View file @
ba3e0742
...
@@ -3662,6 +3662,8 @@ static void test_file_mode(void)
...
@@ -3662,6 +3662,8 @@ static void test_file_mode(void)
if
(
option_tests
[
i
].
file_name
==
&
file_name
)
if
(
option_tests
[
i
].
file_name
==
&
file_name
)
DeleteFileW
(
dos_file_name
);
DeleteFileW
(
dos_file_name
);
}
}
pRtlFreeUnicodeString
(
&
file_name
);
}
}
static
void
test_query_volume_information_file
(
void
)
static
void
test_query_volume_information_file
(
void
)
...
...
dlls/ntdll/tests/reg.c
View file @
ba3e0742
...
@@ -2008,6 +2008,8 @@ static void test_RtlCreateRegistryKey(void)
...
@@ -2008,6 +2008,8 @@ static void test_RtlCreateRegistryKey(void)
status
=
pRtlCreateRegistryKey
((
RTL_REGISTRY_USER
+
1
)
|
RTL_REGISTRY_OPTIONAL
,
NULL
);
status
=
pRtlCreateRegistryKey
((
RTL_REGISTRY_USER
+
1
)
|
RTL_REGISTRY_OPTIONAL
,
NULL
);
ok
(
status
==
STATUS_INVALID_PARAMETER
,
"RtlCreateRegistryKey unexpected return value: %08x, expected %08x
\n
"
,
status
,
STATUS_INVALID_PARAMETER
);
ok
(
status
==
STATUS_INVALID_PARAMETER
,
"RtlCreateRegistryKey unexpected return value: %08x, expected %08x
\n
"
,
status
,
STATUS_INVALID_PARAMETER
);
pRtlFreeUnicodeString
(
&
str
);
}
}
START_TEST
(
reg
)
START_TEST
(
reg
)
...
...
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