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
1656f6b7
Commit
1656f6b7
authored
Jul 17, 2008
by
Alexander Dorofeyev
Committed by
Alexandre Julliard
Jul 18, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
quartz: Add missing VariantClear after GetFilterInfo calls.
parent
1cd83afd
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
filtergraph.c
dlls/quartz/filtergraph.c
+7
-0
No files found.
dlls/quartz/filtergraph.c
View file @
1656f6b7
...
...
@@ -994,6 +994,8 @@ static HRESULT WINAPI FilterGraph2_Connect(IFilterGraph2 *iface, IPin *ppinOut,
goto
error
;
}
VariantClear
(
&
var
);
hr
=
IBaseFilter_EnumPins
(
pfilter
,
&
penumpins
);
if
(
FAILED
(
hr
))
{
WARN
(
"Enumpins (%x)
\n
"
,
hr
);
...
...
@@ -1070,6 +1072,7 @@ static HRESULT WINAPI FilterGraph2_Connect(IFilterGraph2 *iface, IPin *ppinOut,
}
error:
VariantClear
(
&
var
);
if
(
ppinfilter
)
IPin_Release
(
ppinfilter
);
if
(
pfilter
)
{
IFilterGraph2_RemoveFilter
(
iface
,
pfilter
);
...
...
@@ -1347,6 +1350,9 @@ static HRESULT WINAPI FilterGraph2_Render(IFilterGraph2 *iface, IPin *ppinOut)
goto
error
;
}
TRACE
(
"Connected, recursing %s
\n
"
,
debugstr_w
(
V_UNION
(
&
var
,
bstrVal
)));
VariantClear
(
&
var
);
hr
=
FilterGraph2_RenderRecurse
(
This
,
ppinfilter
);
if
(
FAILED
(
hr
))
{
WARN
(
"Unable to connect recursively (%x)
\n
"
,
hr
);
...
...
@@ -1356,6 +1362,7 @@ static HRESULT WINAPI FilterGraph2_Render(IFilterGraph2 *iface, IPin *ppinOut)
break
;
error:
VariantClear
(
&
var
);
if
(
pfilter
)
{
IFilterGraph2_RemoveFilter
(
iface
,
pfilter
);
IBaseFilter_Release
(
pfilter
);
...
...
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