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
26efb871
Commit
26efb871
authored
Jun 14, 2011
by
Jörg Höhle
Committed by
Alexandre Julliard
Jun 17, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winealsa: Fix mmdevapi memory allocations.
parent
4f247d31
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
mmdevdrv.c
dlls/winealsa.drv/mmdevdrv.c
+2
-1
No files found.
dlls/winealsa.drv/mmdevdrv.c
View file @
26efb871
...
@@ -496,6 +496,7 @@ static ULONG WINAPI AudioClient_Release(IAudioClient *iface)
...
@@ -496,6 +496,7 @@ static ULONG WINAPI AudioClient_Release(IAudioClient *iface)
}
}
HeapFree
(
GetProcessHeap
(),
0
,
This
->
vols
);
HeapFree
(
GetProcessHeap
(),
0
,
This
->
vols
);
HeapFree
(
GetProcessHeap
(),
0
,
This
->
local_buffer
);
HeapFree
(
GetProcessHeap
(),
0
,
This
->
local_buffer
);
HeapFree
(
GetProcessHeap
(),
0
,
This
->
tmp_buffer
);
HeapFree
(
GetProcessHeap
(),
0
,
This
->
hw_params
);
HeapFree
(
GetProcessHeap
(),
0
,
This
->
hw_params
);
CoTaskMemFree
(
This
->
fmt
);
CoTaskMemFree
(
This
->
fmt
);
HeapFree
(
GetProcessHeap
(),
0
,
This
);
HeapFree
(
GetProcessHeap
(),
0
,
This
);
...
@@ -897,7 +898,7 @@ exit:
...
@@ -897,7 +898,7 @@ exit:
This
->
local_buffer
=
NULL
;
This
->
local_buffer
=
NULL
;
}
}
if
(
This
->
fmt
){
if
(
This
->
fmt
){
HeapFree
(
GetProcessHeap
(),
0
,
This
->
fmt
);
CoTaskMemFree
(
This
->
fmt
);
This
->
fmt
=
NULL
;
This
->
fmt
=
NULL
;
}
}
if
(
This
->
vols
){
if
(
This
->
vols
){
...
...
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