Andrey Gusev : quartz/tests: Fix resource leak.

Alexandre Julliard julliard at winehq.org
Fri Dec 29 13:46:14 CST 2017


Module: wine
Branch: master
Commit: 95dc5368175aafa91900aea1dd7c0f5c77b0f0cb
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=95dc5368175aafa91900aea1dd7c0f5c77b0f0cb

Author: Andrey Gusev <andrey.goosev at gmail.com>
Date:   Fri Dec 29 17:53:16 2017 +0200

quartz/tests: Fix resource leak.

Signed-off-by: Andrey Gusev <andrey.goosev at gmail.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/quartz/tests/filtergraph.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/dlls/quartz/tests/filtergraph.c b/dlls/quartz/tests/filtergraph.c
index e66dc40..5fd3107 100644
--- a/dlls/quartz/tests/filtergraph.c
+++ b/dlls/quartz/tests/filtergraph.c
@@ -486,6 +486,7 @@ static void test_render_with_multithread(void)
     IFilterGraph2_Release(filter_graph);
     IGraphBuilder_Release(graph_builder);
     IClassFactory_Release(classfactory);
+    CloseHandle(thread);
     CoUninitialize();
     return;
 }




More information about the wine-cvs mailing list