xcopy: Fix resource leak (coverity).

This commit is contained in:
Jason Edmeades 2012-11-05 21:53:39 +00:00 committed by Alexandre Julliard
parent ae4571fb79
commit 4a13490237
1 changed files with 1 additions and 0 deletions

View File

@ -627,6 +627,7 @@ static int XCOPY_DoCopy(WCHAR *srcstem, WCHAR *srcspec,
/* Find next one */
findres = FindNextFileW(h, finddata);
}
FindClose(h);
}
cleanup: