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
cd6472f7
Commit
cd6472f7
authored
Sep 03, 2007
by
Lionel Debroux
Committed by
Alexandre Julliard
Sep 11, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dplayx: Fixed memory leak in dplay.c (found by Smatch).
parent
e2fc6c35
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
2 deletions
+0
-2
dplay.c
dlls/dplayx/dplay.c
+0
-2
No files found.
dlls/dplayx/dplay.c
View file @
cd6472f7
...
...
@@ -5292,7 +5292,6 @@ static HRESULT DirectPlayEnumerateAW(LPDPENUMDPCALLBACKA lpEnumCallbackA,
{
HeapFree
(
GetProcessHeap
(),
0
,
descriptionA
);
max_sizeOfDescriptionA
=
sizeOfDescription
;
descriptionA
=
HeapAlloc
(
GetProcessHeap
(),
0
,
max_sizeOfDescriptionA
);
}
descriptionA
=
HeapAlloc
(
GetProcessHeap
(),
0
,
sizeOfDescription
);
RegQueryValueExA
(
hkServiceProvider
,
"DescriptionA"
,
...
...
@@ -5315,7 +5314,6 @@ static HRESULT DirectPlayEnumerateAW(LPDPENUMDPCALLBACKA lpEnumCallbackA,
{
HeapFree
(
GetProcessHeap
(),
0
,
descriptionW
);
max_sizeOfDescriptionW
=
sizeOfDescription
;
descriptionW
=
HeapAlloc
(
GetProcessHeap
(),
0
,
max_sizeOfDescriptionW
);
}
descriptionW
=
HeapAlloc
(
GetProcessHeap
(),
0
,
sizeOfDescription
);
RegQueryValueExW
(
hkServiceProvider
,
descW
,
...
...
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