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

xcopy: fclose filedescriptor on eof case (Coverity).

parent 50dc4cd6
......@@ -291,6 +291,7 @@ static BOOL XCOPY_ProcessExcludeFile(WCHAR* filename, WCHAR* endOfName) {
if (!feof(inFile)) {
XCOPY_wprintf(XCOPY_LoadMessage(STRING_READFAIL), filename);
*endOfName = endChar;
fclose(inFile);
return TRUE;
}
......
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