winetest: Close filehandle on run error (Coverity).
This commit is contained in:
parent
748dd6fed3
commit
a89f877fd3
|
@ -662,6 +662,7 @@ get_subtests (const char *tempdir, struct wine_test *test, LPSTR res_name)
|
|||
if (status == -2)
|
||||
{
|
||||
report (R_ERROR, "Cannot run %s error %u", test->exename, err);
|
||||
CloseHandle( subfile );
|
||||
goto quit;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue