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
ee7efd76
Commit
ee7efd76
authored
May 01, 2019
by
Nikolay Sivov
Committed by
Alexandre Julliard
May 01, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dbgeng/tests: Fix event handle leak (Coverity).
Signed-off-by:
Nikolay Sivov
<
nsivov@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
24ed16e8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
dbgeng.c
dlls/dbgeng/tests/dbgeng.c
+2
-1
No files found.
dlls/dbgeng/tests/dbgeng.c
View file @
ee7efd76
...
@@ -448,7 +448,7 @@ static void test_module_information(void)
...
@@ -448,7 +448,7 @@ static void test_module_information(void)
hr
=
symbols
->
lpVtbl
->
GetModuleNameString
(
symbols
,
DEBUG_MODNAME_IMAGE
,
0
,
0
,
buffer
,
length
-
1
,
&
length
);
hr
=
symbols
->
lpVtbl
->
GetModuleNameString
(
symbols
,
DEBUG_MODNAME_IMAGE
,
0
,
0
,
buffer
,
length
-
1
,
&
length
);
ok
(
hr
==
S_FALSE
,
"Failed to get image name, hr %#x.
\n
"
,
hr
);
ok
(
hr
==
S_FALSE
,
"Failed to get image name, hr %#x.
\n
"
,
hr
);
ok
(
strlen
(
buffer
)
+
2
==
length
,
"Unexpected length %u
, %u.
\n
"
,
length
,
strlen
(
buffer
)
);
ok
(
strlen
(
buffer
)
+
2
==
length
,
"Unexpected length %u
.
\n
"
,
length
);
hr
=
symbols
->
lpVtbl
->
GetModuleNameString
(
symbols
,
DEBUG_MODNAME_IMAGE
,
0
,
0
,
NULL
,
length
-
1
,
NULL
);
hr
=
symbols
->
lpVtbl
->
GetModuleNameString
(
symbols
,
DEBUG_MODNAME_IMAGE
,
0
,
0
,
NULL
,
length
-
1
,
NULL
);
ok
(
hr
==
S_FALSE
,
"Failed to get image name, hr %#x.
\n
"
,
hr
);
ok
(
hr
==
S_FALSE
,
"Failed to get image name, hr %#x.
\n
"
,
hr
);
...
@@ -477,6 +477,7 @@ static void test_module_information(void)
...
@@ -477,6 +477,7 @@ static void test_module_information(void)
CloseHandle
(
info
.
hProcess
);
CloseHandle
(
info
.
hProcess
);
CloseHandle
(
info
.
hThread
);
CloseHandle
(
info
.
hThread
);
CloseHandle
(
event
);
client
->
lpVtbl
->
Release
(
client
);
client
->
lpVtbl
->
Release
(
client
);
control
->
lpVtbl
->
Release
(
control
);
control
->
lpVtbl
->
Release
(
control
);
...
...
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