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
a7e2b991
Commit
a7e2b991
authored
Jun 21, 2015
by
Nikolay Sivov
Committed by
Alexandre Julliard
Jun 22, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
amstream: Release pins and streams array on instance release (Valgrind).
parent
84c2fda6
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
0 deletions
+3
-0
amstream.c
dlls/amstream/amstream.c
+1
-0
mediastreamfilter.c
dlls/amstream/mediastreamfilter.c
+2
-0
No files found.
dlls/amstream/amstream.c
View file @
a7e2b991
...
...
@@ -114,6 +114,7 @@ static ULONG WINAPI IAMMultiMediaStreamImpl_Release(IAMMultiMediaStream* iface)
{
for
(
i
=
0
;
i
<
This
->
nbStreams
;
i
++
)
IAMMediaStream_Release
(
This
->
pStreams
[
i
]);
CoTaskMemFree
(
This
->
pStreams
);
if
(
This
->
ipin
)
IPin_Release
(
This
->
ipin
);
if
(
This
->
media_stream_filter
)
...
...
dlls/amstream/mediastreamfilter.c
View file @
a7e2b991
...
...
@@ -249,6 +249,8 @@ static ULONG WINAPI MediaStreamFilterImpl_Release(IMediaStreamFilter *iface)
IMediaStream_Release
(
This
->
streams
[
i
]);
IPin_Release
(
This
->
pins
[
i
]);
}
CoTaskMemFree
(
This
->
streams
);
CoTaskMemFree
(
This
->
pins
);
BaseFilter_Destroy
(
&
This
->
filter
);
HeapFree
(
GetProcessHeap
(),
0
,
This
);
}
...
...
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