winetest: Close filehandle on run error (Coverity).

This commit is contained in:
Marcus Meissner 2012-10-10 10:12:11 +02:00 committed by Alexandre Julliard
parent 748dd6fed3
commit a89f877fd3

View file

@ -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;
}