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
00f6588c
Commit
00f6588c
authored
Feb 22, 2017
by
Alistair Leslie-Hughes
Committed by
Alexandre Julliard
Feb 22, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dplayx/tests: Fix memory leaks (valgrind).
Signed-off-by:
Alistair Leslie-Hughes
<
leslie_alistair@hotmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
98a2465a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
dplay.c
dlls/dplayx/dplay.c
+3
-0
No files found.
dlls/dplayx/dplay.c
View file @
00f6588c
...
...
@@ -245,6 +245,7 @@ static BOOL DP_DestroyDirectPlay2( LPVOID lpDP )
NS_DeleteSessionCache
(
This
->
dp2
->
lpNameServerData
);
HeapFree
(
GetProcessHeap
(),
0
,
This
->
dp2
->
dplspData
.
lpCB
);
HeapFree
(
GetProcessHeap
(),
0
,
This
->
dp2
->
lpSessionDesc
);
IDirectPlaySP_Release
(
This
->
dp2
->
spData
.
lpISP
);
...
...
@@ -4360,8 +4361,10 @@ static HRESULT WINAPI IDirectPlay4AImpl_EnumConnections( IDirectPlay4A *iface,
if
(
!
lpEnumCallback
(
&
serviceProviderGUID
,
lpAddressBuffer
,
dwAddressBufferSize
,
&
dpName
,
dwFlags
,
lpContext
)
)
{
HeapFree
(
GetProcessHeap
(),
0
,
lpAddressBuffer
);
return
DP_OK
;
}
HeapFree
(
GetProcessHeap
(),
0
,
lpAddressBuffer
);
}
}
...
...
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