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
b745d869
Commit
b745d869
authored
Nov 08, 2013
by
Marcus Meissner
Committed by
Alexandre Julliard
Nov 11, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
quartz: Use FreeLibrary instead of CloseHandle (Coverity).
parent
7ddb8e25
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
vmr9.c
dlls/quartz/vmr9.c
+2
-2
No files found.
dlls/quartz/vmr9.c
View file @
b745d869
...
...
@@ -838,7 +838,7 @@ static ULONG WINAPI VMR9Inner_Release(IUnknown * iface)
{
TRACE
(
"Destroying
\n
"
);
BaseControlWindow_Destroy
(
&
This
->
baseControlWindow
);
CloseHandle
(
This
->
hD3d9
);
FreeLibrary
(
This
->
hD3d9
);
if
(
This
->
allocator
)
IVMRSurfaceAllocatorEx9_Release
(
This
->
allocator
);
...
...
@@ -2308,7 +2308,7 @@ static HRESULT vmr_create(IUnknown *outer_unk, LPVOID *ppv, const CLSID *clsid)
fail:
BaseRendererImpl_Release
(
&
pVMR
->
renderer
.
filter
.
IBaseFilter_iface
);
CloseHandle
(
pVMR
->
hD3d9
);
FreeLibrary
(
pVMR
->
hD3d9
);
CoTaskMemFree
(
pVMR
);
return
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