Paul Vriens : janitorial: Close COM after tests.

Alexandre Julliard julliard at winehq.org
Mon May 19 16:25:45 CDT 2008


Module: wine
Branch: master
Commit: 64444ebe9407b7b9795eba62b40ca9ccc3cb2b72
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=64444ebe9407b7b9795eba62b40ca9ccc3cb2b72

Author: Paul Vriens <paul.vriens.wine at gmail.com>
Date:   Mon May 19 17:04:48 2008 +0200

janitorial: Close COM after tests.

---

 dlls/quartz/tests/filtergraph.c    |    1 +
 dlls/quartz/tests/memallocator.c   |    2 ++
 dlls/quartz/tests/misc.c           |    2 ++
 dlls/quartz/tests/referenceclock.c |    2 ++
 dlls/quartz/tests/videorenderer.c  |    2 ++
 dlls/shell32/tests/string.c        |    2 ++
 dlls/shlwapi/tests/string.c        |    2 ++
 7 files changed, 13 insertions(+), 0 deletions(-)

diff --git a/dlls/quartz/tests/filtergraph.c b/dlls/quartz/tests/filtergraph.c
index a82a685..400f7a6 100644
--- a/dlls/quartz/tests/filtergraph.c
+++ b/dlls/quartz/tests/filtergraph.c
@@ -298,4 +298,5 @@ START_TEST(filtergraph)
     test_graph_builder_addfilter();
     test_mediacontrol();
     test_filter_graph2();
+    CoUninitialize();
 }
diff --git a/dlls/quartz/tests/memallocator.c b/dlls/quartz/tests/memallocator.c
index b0638e8..c5313f7 100644
--- a/dlls/quartz/tests/memallocator.c
+++ b/dlls/quartz/tests/memallocator.c
@@ -87,4 +87,6 @@ START_TEST(memallocator)
     CoInitialize(NULL);
 
     CommitDecommitTest();
+
+    CoUninitialize();
 }
diff --git a/dlls/quartz/tests/misc.c b/dlls/quartz/tests/misc.c
index 7207814..bd902a8 100644
--- a/dlls/quartz/tests/misc.c
+++ b/dlls/quartz/tests/misc.c
@@ -173,4 +173,6 @@ START_TEST(misc)
 
     test_video_renderer_aggregations();
     test_filter_graph_aggregations();
+
+    CoUninitialize();
 }
diff --git a/dlls/quartz/tests/referenceclock.c b/dlls/quartz/tests/referenceclock.c
index a56fb25..164fc3d 100644
--- a/dlls/quartz/tests/referenceclock.c
+++ b/dlls/quartz/tests/referenceclock.c
@@ -110,4 +110,6 @@ START_TEST(referenceclock)
     CoInitialize(NULL);
 
     test_IReferenceClock_SystemClock();
+
+    CoUninitialize();
 }
diff --git a/dlls/quartz/tests/videorenderer.c b/dlls/quartz/tests/videorenderer.c
index d18620f..3fa7522 100644
--- a/dlls/quartz/tests/videorenderer.c
+++ b/dlls/quartz/tests/videorenderer.c
@@ -160,4 +160,6 @@ START_TEST(videorenderer)
     test_basefilter();
 
     release_video_renderer();
+
+    CoUninitialize();
 }
diff --git a/dlls/shell32/tests/string.c b/dlls/shell32/tests/string.c
index c748f35..61fab0f 100644
--- a/dlls/shell32/tests/string.c
+++ b/dlls/shell32/tests/string.c
@@ -110,4 +110,6 @@ START_TEST(string)
         else
             test_StrRetToStringNA();
     }
+
+    CoUninitialize();
 }
diff --git a/dlls/shlwapi/tests/string.c b/dlls/shlwapi/tests/string.c
index 0b4f28b..79a645c 100644
--- a/dlls/shlwapi/tests/string.c
+++ b/dlls/shlwapi/tests/string.c
@@ -957,4 +957,6 @@ START_TEST(string)
   test_SHAnsiToAnsi();
   test_SHUnicodeToUnicode();
   test_StrXXX_overflows();
+
+  CoUninitialize();
 }




More information about the wine-cvs mailing list