[PATCH] wmp/tests: Destroy the window before calling CoUninitialize
20 Sep
2018
20 Sep
'18
4:17 a.m.
Signed-off-by: Alex Henrie <alexhenrie24(a)gmail.com> --- This should fix the crash on Windows Server 2003. --- dlls/wmp/tests/oleobj.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dlls/wmp/tests/oleobj.c b/dlls/wmp/tests/oleobj.c index 2250b75aa9..deac5cd3db 100644 --- a/dlls/wmp/tests/oleobj.c +++ b/dlls/wmp/tests/oleobj.c @@ -1379,11 +1379,11 @@ static void create_container_window(void) START_TEST(oleobj) { - create_container_window(); CoInitialize(NULL); + create_container_window(); test_wmp(); - CoUninitialize(); DestroyWindow(container_hwnd); + CoUninitialize(); } -- 2.19.0
2731
Age (days ago)
2731
Last active (days ago)
0 comments
1 participants
participants (1)
-
Alex Henrie