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
3cef5238
Commit
3cef5238
authored
Feb 15, 2021
by
Nikolay Sivov
Committed by
Alexandre Julliard
Feb 15, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mfplat: Fix use-after-free when releasing sample allocator.
Signed-off-by:
Nikolay Sivov
<
nsivov@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
7e85f53d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
2 deletions
+0
-2
sample.c
dlls/mfplat/sample.c
+0
-2
No files found.
dlls/mfplat/sample.c
View file @
3cef5238
...
...
@@ -1174,8 +1174,6 @@ static ULONG WINAPI sample_allocator_Release(IMFVideoSampleAllocatorEx *iface)
IDirect3DDeviceManager9_Release
(
allocator
->
d3d9_device_manager
);
if
(
allocator
->
dxgi_device_manager
)
IMFDXGIDeviceManager_Release
(
allocator
->
dxgi_device_manager
);
if
(
allocator
->
attributes
)
IMFAttributes_Release
(
allocator
->
attributes
);
sample_allocator_set_media_type
(
allocator
,
NULL
);
sample_allocator_set_attributes
(
allocator
,
NULL
);
sample_allocator_release_samples
(
allocator
);
...
...
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