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
5cbc081a
Commit
5cbc081a
authored
Jul 19, 2014
by
Thomas Faber
Committed by
Alexandre Julliard
Jul 22, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
qcap: Destroy BaseFilter after VfwCapture child class.
parent
13fe9147
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
vfwcapture.c
dlls/qcap/vfwcapture.c
+2
-1
No files found.
dlls/qcap/vfwcapture.c
View file @
5cbc081a
...
@@ -203,7 +203,7 @@ static HRESULT WINAPI VfwCapture_QueryInterface(IBaseFilter * iface, REFIID riid
...
@@ -203,7 +203,7 @@ static HRESULT WINAPI VfwCapture_QueryInterface(IBaseFilter * iface, REFIID riid
static
ULONG
WINAPI
VfwCapture_Release
(
IBaseFilter
*
iface
)
static
ULONG
WINAPI
VfwCapture_Release
(
IBaseFilter
*
iface
)
{
{
VfwCapture
*
This
=
(
VfwCapture
*
)
iface
;
VfwCapture
*
This
=
(
VfwCapture
*
)
iface
;
ULONG
refCount
=
BaseFilterImpl_Release
(
iface
);
ULONG
refCount
=
InterlockedDecrement
(
&
This
->
filter
.
refCount
);
TRACE
(
"%p->() New refcount: %d
\n
"
,
This
,
refCount
);
TRACE
(
"%p->() New refcount: %d
\n
"
,
This
,
refCount
);
...
@@ -225,6 +225,7 @@ static ULONG WINAPI VfwCapture_Release(IBaseFilter * iface)
...
@@ -225,6 +225,7 @@ static ULONG WINAPI VfwCapture_Release(IBaseFilter * iface)
IPin_Disconnect
(
This
->
pOutputPin
);
IPin_Disconnect
(
This
->
pOutputPin
);
}
}
IPin_Release
(
This
->
pOutputPin
);
IPin_Release
(
This
->
pOutputPin
);
BaseFilter_Destroy
(
&
This
->
filter
);
CoTaskMemFree
(
This
);
CoTaskMemFree
(
This
);
ObjectRefCount
(
FALSE
);
ObjectRefCount
(
FALSE
);
}
}
...
...
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