mirror of
git://source.winehq.org/git/wine.git
synced 2024-11-05 18:01:34 +00:00
quartz: Fix memory leak on failure path.
This commit is contained in:
parent
56dfb5bbf4
commit
917bd3ca18
1 changed files with 1 additions and 0 deletions
|
@ -1542,6 +1542,7 @@ static HRESULT WINAPI FilterGraph2_AddSourceFilter(IFilterGraph2 *iface,
|
|||
if (FAILED(hr))
|
||||
{
|
||||
WARN("Failed to load file, hr %#lx.\n", hr);
|
||||
IBaseFilter_Release(filter);
|
||||
return hr;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue