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
97d7d321
Commit
97d7d321
authored
Jul 22, 2023
by
Zebediah Figura
Committed by
Alexandre Julliard
Jul 24, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
amstream: Release the previous ddraw in ddraw_IAMMediaStream_Initialize().
parent
e6cc4ae4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
ddrawstream.c
dlls/amstream/ddrawstream.c
+4
-0
No files found.
dlls/amstream/ddrawstream.c
View file @
97d7d321
...
...
@@ -324,6 +324,10 @@ static HRESULT WINAPI ddraw_IAMMediaStream_Initialize(IAMMediaStream *iface, IUn
stream
->
purpose_id
=
*
purpose_id
;
stream
->
stream_type
=
stream_type
;
if
(
stream
->
ddraw
)
IDirectDraw_Release
(
stream
->
ddraw
);
stream
->
ddraw
=
NULL
;
if
(
source_object
&&
FAILED
(
hr
=
IUnknown_QueryInterface
(
source_object
,
&
IID_IDirectDraw
,
(
void
**
)
&
stream
->
ddraw
)))
FIXME
(
"Stream object doesn't implement IDirectDraw interface, hr %#lx.
\n
"
,
hr
);
...
...
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