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
2543295a
Commit
2543295a
authored
Jan 29, 2019
by
Sven Baars
Committed by
Alexandre Julliard
Jan 29, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dinput/tests: Fix some memory leaks (Valgrind).
Signed-off-by:
Sven Baars
<
sven.wine@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
8f3a4746
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
dinput.c
dlls/dinput/tests/dinput.c
+6
-2
No files found.
dlls/dinput/tests/dinput.c
View file @
2543295a
...
...
@@ -604,10 +604,14 @@ static void test_DirectInputJoyConfig8(void)
"IDirectInputJoyConfig8_GetConfig returned 0x%08x
\n
"
,
hr
);
if
(
SUCCEEDED
(
hr
))
ok
(
SUCCEEDED
(
IDirectInput_CreateDevice
(
pDI
,
&
info
.
guidInstance
,
&
pDID
,
NULL
)),
"IDirectInput_CreateDevice failed with guid from GetConfig hr = 0x%08x
\n
"
,
hr
);
{
hr
=
IDirectInput_CreateDevice
(
pDI
,
&
info
.
guidInstance
,
&
pDID
,
NULL
);
ok
(
SUCCEEDED
(
hr
),
"IDirectInput_CreateDevice failed with guid from GetConfig hr = 0x%08x
\n
"
,
hr
);
IDirectInputDevice_Release
(
pDID
);
}
}
IDirectInputJoyConfig8_Release
(
pDIJC
);
IDirectInput_Release
(
pDI
);
}
...
...
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