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
0d4f63b3
Commit
0d4f63b3
authored
Mar 01, 2023
by
Adrian Thiele
Committed by
Alexandre Julliard
Mar 01, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mfreadwrite/reader: Release device manager in source_reader_release.
parent
eeb25932
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletion
+3
-1
reader.c
dlls/mfreadwrite/reader.c
+2
-0
mfplat.c
dlls/mfreadwrite/tests/mfplat.c
+1
-1
No files found.
dlls/mfreadwrite/reader.c
View file @
0d4f63b3
...
...
@@ -211,6 +211,8 @@ static ULONG source_reader_release(struct source_reader *reader)
if
(
!
refcount
)
{
if
(
reader
->
device_manager
)
IUnknown_Release
(
reader
->
device_manager
);
if
(
reader
->
async_callback
)
IMFSourceReaderCallback_Release
(
reader
->
async_callback
);
if
(
reader
->
descriptor
)
...
...
dlls/mfreadwrite/tests/mfplat.c
View file @
0d4f63b3
...
...
@@ -1406,7 +1406,7 @@ static void test_reader_d3d9(void)
IMFSourceReader_Release
(
reader
);
refcount
=
IDirect3DDeviceManager9_Release
(
d3d9_manager
);
todo_wine
ok
(
!
refcount
,
"Unexpected refcount %lu.
\n
"
,
refcount
);
ok
(
!
refcount
,
"Unexpected refcount %lu.
\n
"
,
refcount
);
IDirect3DDevice9_Release
(
d3d9_device
);
...
...
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