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
04240e6a
Commit
04240e6a
authored
Jul 19, 2014
by
Thomas Faber
Committed by
Alexandre Julliard
Jul 22, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winegstreamer: Destroy BaseFilter after GST child class.
parent
5cbc081a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
gstdemux.c
dlls/winegstreamer/gstdemux.c
+2
-1
No files found.
dlls/winegstreamer/gstdemux.c
View file @
04240e6a
...
@@ -1099,6 +1099,7 @@ static void GST_Destroy(GSTImpl *This) {
...
@@ -1099,6 +1099,7 @@ static void GST_Destroy(GSTImpl *This) {
gst_bus_set_sync_handler
(
This
->
bus
,
NULL
,
NULL
);
gst_bus_set_sync_handler
(
This
->
bus
,
NULL
,
NULL
);
gst_object_unref
(
This
->
bus
);
gst_object_unref
(
This
->
bus
);
}
}
BaseFilter_Destroy
(
&
This
->
filter
);
CoTaskMemFree
(
This
);
CoTaskMemFree
(
This
);
}
}
...
@@ -1131,7 +1132,7 @@ static HRESULT WINAPI GST_QueryInterface(IBaseFilter *iface, REFIID riid, LPVOID
...
@@ -1131,7 +1132,7 @@ static HRESULT WINAPI GST_QueryInterface(IBaseFilter *iface, REFIID riid, LPVOID
static
ULONG
WINAPI
GST_Release
(
IBaseFilter
*
iface
)
{
static
ULONG
WINAPI
GST_Release
(
IBaseFilter
*
iface
)
{
GSTImpl
*
This
=
(
GSTImpl
*
)
iface
;
GSTImpl
*
This
=
(
GSTImpl
*
)
iface
;
ULONG
refCount
=
BaseFilterImpl_Release
(
iface
);
ULONG
refCount
=
InterlockedDecrement
(
&
This
->
filter
.
refCount
);
TRACE
(
"(%p)->() Release from %d
\n
"
,
This
,
refCount
+
1
);
TRACE
(
"(%p)->() Release from %d
\n
"
,
This
,
refCount
+
1
);
...
...
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