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
cd131ca0
Commit
cd131ca0
authored
May 15, 2019
by
Zebediah Figura
Committed by
Alexandre Julliard
May 16, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
quartz/dsoundrender: Use strmbase_renderer_cleanup().
Signed-off-by:
Zebediah Figura
<
z.figura12@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
44dbf4af
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
dsoundrender.c
dlls/quartz/dsoundrender.c
+3
-2
No files found.
dlls/quartz/dsoundrender.c
View file @
cd131ca0
...
...
@@ -680,7 +680,7 @@ HRESULT DSoundRender_create(IUnknown * pUnkOuter, LPVOID * ppv)
}
else
{
BaseRendererImpl_Release
(
&
pDSoundRender
->
renderer
.
filter
.
IBaseFilter_iface
);
strmbase_renderer_cleanup
(
&
pDSoundRender
->
renderer
);
CoTaskMemFree
(
pDSoundRender
);
}
...
...
@@ -725,7 +725,7 @@ static HRESULT WINAPI DSoundRender_QueryInterface(IBaseFilter * iface, REFIID ri
static
ULONG
WINAPI
DSoundRender_Release
(
IBaseFilter
*
iface
)
{
DSoundRenderImpl
*
This
=
impl_from_IBaseFilter
(
iface
);
ULONG
refCount
=
BaseRendererImpl_Release
(
iface
);
ULONG
refCount
=
InterlockedDecrement
(
&
This
->
renderer
.
filter
.
refCount
);
TRACE
(
"(%p)->() Release from %d
\n
"
,
This
,
refCount
+
1
);
...
...
@@ -748,6 +748,7 @@ static ULONG WINAPI DSoundRender_Release(IBaseFilter * iface)
CloseHandle
(
This
->
blocked
);
TRACE
(
"Destroying Audio Renderer
\n
"
);
strmbase_renderer_cleanup
(
&
This
->
renderer
);
CoTaskMemFree
(
This
);
return
0
;
...
...
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