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
14485c36
Commit
14485c36
authored
Nov 30, 2008
by
Christian Costa
Committed by
Alexandre Julliard
Dec 01, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
quartz: Avoid leaking penummt and mt on error.
parent
b5158497
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
5 deletions
+6
-5
filtergraph.c
dlls/quartz/filtergraph.c
+6
-5
No files found.
dlls/quartz/filtergraph.c
View file @
14485c36
...
...
@@ -867,8 +867,8 @@ static HRESULT WINAPI FilterGraph2_Connect(IFilterGraph2 *iface, IPin *ppinOut,
{
ICOM_THIS_MULTI
(
IFilterGraphImpl
,
IFilterGraph2_vtbl
,
iface
);
HRESULT
hr
;
AM_MEDIA_TYPE
*
mt
;
IEnumMediaTypes
*
penummt
;
AM_MEDIA_TYPE
*
mt
=
NULL
;
IEnumMediaTypes
*
penummt
=
NULL
;
ULONG
nbmt
;
IEnumPins
*
penumpins
;
IEnumMoniker
*
pEnumMoniker
;
...
...
@@ -1095,10 +1095,11 @@ error:
}
}
IEnumMediaTypes_Release
(
penummt
);
DeleteMediaType
(
mt
);
out:
if
(
penummt
)
IEnumMediaTypes_Release
(
penummt
);
if
(
mt
)
DeleteMediaType
(
mt
);
--
This
->
recursioncount
;
LeaveCriticalSection
(
&
This
->
cs
);
TRACE
(
"--> %08x
\n
"
,
hr
);
...
...
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