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
da5e4f16
Commit
da5e4f16
authored
Jul 19, 2008
by
Hans Leidekker
Committed by
Alexandre Julliard
Jul 21, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
setupapi: Fix two memory leaks in the test.
parent
42506c94
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
0 deletions
+3
-0
misc.c
dlls/setupapi/tests/misc.c
+1
-0
query.c
dlls/setupapi/tests/query.c
+2
-0
No files found.
dlls/setupapi/tests/misc.c
View file @
da5e4f16
...
...
@@ -400,6 +400,7 @@ static void test_SetupGetFileCompressionInfo(void)
ok
(
target_size
==
sizeof
(
uncompressed
),
"got %d
\n
"
,
target_size
);
ok
(
type
==
FILE_COMPRESSION_NONE
,
"got %d, expected FILE_COMPRESSION_NONE
\n
"
,
type
);
MyFree
(
name
);
DeleteFileA
(
source
);
}
...
...
dlls/setupapi/tests/query.c
View file @
da5e4f16
...
...
@@ -266,6 +266,8 @@ static void test_SetupGetInfInformation(void)
ok
(
ret
==
TRUE
,
"Expected SetupGetInfInformation to succeed
\n
"
);
ok
(
check_info_filename
(
info
,
inf_two
),
"Expected returned filename to be equal
\n
"
);
HeapFree
(
GetProcessHeap
(),
0
,
info
);
DeleteFileA
(
inf_filename
);
DeleteFileA
(
inf_one
);
DeleteFileA
(
inf_two
);
...
...
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