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
f884cf0d
Commit
f884cf0d
authored
Mar 10, 2009
by
Francois Gouget
Committed by
Alexandre Julliard
Mar 10, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avifil32: Add missing AddRefs in IAVIFile_QueryInterface().
parent
5dbe1360
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
wavfile.c
dlls/avifil32/wavfile.c
+3
-0
No files found.
dlls/avifil32/wavfile.c
View file @
f884cf0d
...
@@ -251,13 +251,16 @@ static HRESULT WINAPI IAVIFile_fnQueryInterface(IAVIFile *iface, REFIID refiid,
...
@@ -251,13 +251,16 @@ static HRESULT WINAPI IAVIFile_fnQueryInterface(IAVIFile *iface, REFIID refiid,
if
(
IsEqualGUID
(
&
IID_IUnknown
,
refiid
)
||
if
(
IsEqualGUID
(
&
IID_IUnknown
,
refiid
)
||
IsEqualGUID
(
&
IID_IAVIFile
,
refiid
))
{
IsEqualGUID
(
&
IID_IAVIFile
,
refiid
))
{
*
obj
=
iface
;
*
obj
=
iface
;
IAVIFile_AddRef
(
iface
);
return
S_OK
;
return
S_OK
;
}
else
if
(
This
->
fInfo
.
dwStreams
==
1
&&
}
else
if
(
This
->
fInfo
.
dwStreams
==
1
&&
IsEqualGUID
(
&
IID_IAVIStream
,
refiid
))
{
IsEqualGUID
(
&
IID_IAVIStream
,
refiid
))
{
*
obj
=
&
This
->
iAVIStream
;
*
obj
=
&
This
->
iAVIStream
;
IAVIFile_AddRef
(
iface
);
return
S_OK
;
return
S_OK
;
}
else
if
(
IsEqualGUID
(
&
IID_IPersistFile
,
refiid
))
{
}
else
if
(
IsEqualGUID
(
&
IID_IPersistFile
,
refiid
))
{
*
obj
=
&
This
->
iPersistFile
;
*
obj
=
&
This
->
iPersistFile
;
IAVIFile_AddRef
(
iface
);
return
S_OK
;
return
S_OK
;
}
}
...
...
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