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
7422611c
Commit
7422611c
authored
May 17, 2009
by
Francois Gouget
Committed by
Alexandre Julliard
May 18, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dplayx: cbDelete{Groups,Player}Elem() are unused so remove them.
parent
d5374768
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
32 deletions
+0
-32
dplay.c
dlls/dplayx/dplay.c
+0
-32
No files found.
dlls/dplayx/dplay.c
View file @
7422611c
...
...
@@ -338,33 +338,6 @@ DPQ_DECL_DELETECB( cbDeleteElemFromHeap, LPVOID )
HeapFree
(
GetProcessHeap
(),
0
,
elem
);
}
/* Function to delete the list of groups with this interface. Needs to
* delete the group and player lists associated with this group as well
* as the group data associated with this group. It should not delete
* player data as that is shared with the top player list and will be
* deleted with that.
*/
DPQ_DECL_DELETECB
(
cbDeleteGroupsElem
,
lpGroupList
);
DPQ_DECL_DELETECB
(
cbDeleteGroupsElem
,
lpGroupList
)
{
DPQ_DELETEQ
(
elem
->
lpGData
->
groups
,
groups
,
lpGroupList
,
cbDeleteElemFromHeap
);
DPQ_DELETEQ
(
elem
->
lpGData
->
players
,
players
,
lpPlayerList
,
cbDeleteElemFromHeap
);
HeapFree
(
GetProcessHeap
(),
0
,
elem
->
lpGData
);
HeapFree
(
GetProcessHeap
(),
0
,
elem
);
}
/* Function to delete the list of players with this interface. Needs to
* delete the player data for all players as well.
*/
DPQ_DECL_DELETECB
(
cbDeletePlayerElem
,
lpPlayerList
);
DPQ_DECL_DELETECB
(
cbDeletePlayerElem
,
lpPlayerList
)
{
HeapFree
(
GetProcessHeap
(),
0
,
elem
->
lpPData
);
HeapFree
(
GetProcessHeap
(),
0
,
elem
);
}
static
BOOL
DP_DestroyDirectPlay2
(
LPVOID
lpDP
)
{
IDirectPlay2AImpl
*
This
=
lpDP
;
...
...
@@ -404,11 +377,6 @@ static BOOL DP_DestroyDirectPlay2( LPVOID lpDP )
FreeLibrary
(
This
->
dp2
->
hDPLobbyProvider
);
}
#if 0
DPQ_DELETEQ( This->dp2->players, players, lpPlayerList, cbDeletePlayerElem );
DPQ_DELETEQ( This->dp2->groups, groups, lpGroupList, cbDeleteGroupsElem );
#endif
/* FIXME: Need to delete receive and send msgs queue contents */
NS_DeleteSessionCache
(
This
->
dp2
->
lpNameServerData
);
...
...
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