xcopy: Fix resource leak (coverity).
This commit is contained in:
parent
ae4571fb79
commit
4a13490237
|
@ -627,6 +627,7 @@ static int XCOPY_DoCopy(WCHAR *srcstem, WCHAR *srcspec,
|
|||
/* Find next one */
|
||||
findres = FindNextFileW(h, finddata);
|
||||
}
|
||||
FindClose(h);
|
||||
}
|
||||
|
||||
cleanup:
|
||||
|
|
Loading…
Reference in New Issue