From: Piotr Caban piotr@codeweavers.com
--- dlls/windowscodecs/tests/info.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/dlls/windowscodecs/tests/info.c b/dlls/windowscodecs/tests/info.c index 15dcde5fd9d..b2dcf1ab532 100644 --- a/dlls/windowscodecs/tests/info.c +++ b/dlls/windowscodecs/tests/info.c @@ -66,9 +66,7 @@ static void run_child_test(const char *name) sprintf(path_name, "%s info %s", argv[0], name); ok(CreateProcessA( NULL, path_name, NULL, NULL, FALSE, 0, NULL, NULL, &startup, &info), "CreateProcess failed.\n" ); - wait_child_process(info.hProcess); - CloseHandle(info.hProcess); - CloseHandle(info.hThread); + wait_child_process(&info); }
static HRESULT get_component_info(const GUID *clsid, IWICComponentInfo **result)