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
72be44ee
Commit
72be44ee
authored
May 22, 2008
by
Maarten Lankhorst
Committed by
Alexandre Julliard
May 22, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winmm: Fix valgrind warnings on exit.
parent
a486ec90
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
6 deletions
+12
-6
lolvldrv.c
dlls/winmm/lolvldrv.c
+12
-6
No files found.
dlls/winmm/lolvldrv.c
View file @
72be44ee
...
...
@@ -763,10 +763,16 @@ void MMDRV_Exit(void)
MMDRV_ExitPerType
(
&
MMDrvs
[
i
],
MMDRV_WAVEOUT
);
CloseDriver
(
MMDrvs
[
i
].
hDriver
,
0
,
0
);
}
HeapFree
(
GetProcessHeap
(),
0
,
llTypes
[
MMDRV_AUX
].
lpMlds
-
1
);
HeapFree
(
GetProcessHeap
(),
0
,
llTypes
[
MMDRV_MIXER
].
lpMlds
-
1
);
HeapFree
(
GetProcessHeap
(),
0
,
llTypes
[
MMDRV_MIDIIN
].
lpMlds
-
1
);
HeapFree
(
GetProcessHeap
(),
0
,
llTypes
[
MMDRV_MIDIOUT
].
lpMlds
-
1
);
HeapFree
(
GetProcessHeap
(),
0
,
llTypes
[
MMDRV_WAVEIN
].
lpMlds
-
1
);
HeapFree
(
GetProcessHeap
(),
0
,
llTypes
[
MMDRV_WAVEOUT
].
lpMlds
-
1
);
if
(
llTypes
[
MMDRV_AUX
].
lpMlds
)
HeapFree
(
GetProcessHeap
(),
0
,
llTypes
[
MMDRV_AUX
].
lpMlds
-
1
);
if
(
llTypes
[
MMDRV_MIXER
].
lpMlds
)
HeapFree
(
GetProcessHeap
(),
0
,
llTypes
[
MMDRV_MIXER
].
lpMlds
-
1
);
if
(
llTypes
[
MMDRV_MIDIIN
].
lpMlds
)
HeapFree
(
GetProcessHeap
(),
0
,
llTypes
[
MMDRV_MIDIIN
].
lpMlds
-
1
);
if
(
llTypes
[
MMDRV_MIDIOUT
].
lpMlds
)
HeapFree
(
GetProcessHeap
(),
0
,
llTypes
[
MMDRV_MIDIOUT
].
lpMlds
-
1
);
if
(
llTypes
[
MMDRV_WAVEIN
].
lpMlds
)
HeapFree
(
GetProcessHeap
(),
0
,
llTypes
[
MMDRV_WAVEIN
].
lpMlds
-
1
);
if
(
llTypes
[
MMDRV_WAVEOUT
].
lpMlds
)
HeapFree
(
GetProcessHeap
(),
0
,
llTypes
[
MMDRV_WAVEOUT
].
lpMlds
-
1
);
}
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