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
e16abdfa
Commit
e16abdfa
authored
Mar 03, 2017
by
Alistair Leslie-Hughes
Committed by
Alexandre Julliard
Mar 06, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dplayx/tests: Free IDirectPlayLobby objects.
Signed-off-by:
Alistair Leslie-Hughes
<
leslie_alistair@hotmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
2bb3636a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
3 deletions
+7
-3
dplayx.c
dlls/dplayx/tests/dplayx.c
+7
-3
No files found.
dlls/dplayx/tests/dplayx.c
View file @
e16abdfa
...
...
@@ -700,7 +700,7 @@ static void init_TCPIP_provider( IDirectPlay4 *pDP, LPCSTR strIPAddressString, W
checkHR
(
DP_OK
,
hr
);
HeapFree
(
GetProcessHeap
(),
0
,
pAddress
);
IDirectPlayLobby_Release
(
pDPL
);
}
static
BOOL
CALLBACK
EnumSessions_cb_join
(
LPCDPSESSIONDESC2
lpThisSD
,
...
...
@@ -940,6 +940,8 @@ static BOOL CALLBACK EnumConnections_cb( LPCGUID lpguidSP,
callbackData
->
dwCounter1
++
;
IDirectPlayLobby_Release
(
pDPL
);
return
TRUE
;
}
...
...
@@ -3075,7 +3077,7 @@ static void test_GetPlayerAddress(void)
if
(
hr
==
DP_OK
)
{
todo_wine
win_skip
(
"GetPlayerAddress not implemented
\n
"
);
return
;
goto
cleanup
;
}
init_TCPIP_provider
(
pDP
[
0
],
"127.0.0.1"
,
0
);
...
...
@@ -3171,9 +3173,11 @@ static void test_GetPlayerAddress(void)
HeapFree
(
GetProcessHeap
(),
0
,
lpData
);
cleanup:
IDirectPlayX_Release
(
pDP
[
0
]
);
IDirectPlayX_Release
(
pDP
[
1
]
);
IDirectPlayLobby_Release
(
pDPL
);
}
/* GetPlayerFlags */
...
...
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