Commit a89f877f authored by Marcus Meissner's avatar Marcus Meissner Committed by Alexandre Julliard

winetest: Close filehandle on run error (Coverity).

parent 748dd6fe
...@@ -662,6 +662,7 @@ get_subtests (const char *tempdir, struct wine_test *test, LPSTR res_name) ...@@ -662,6 +662,7 @@ get_subtests (const char *tempdir, struct wine_test *test, LPSTR res_name)
if (status == -2) if (status == -2)
{ {
report (R_ERROR, "Cannot run %s error %u", test->exename, err); report (R_ERROR, "Cannot run %s error %u", test->exename, err);
CloseHandle( subfile );
goto quit; goto quit;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment