scrrun: Fix a find handle leak (Coverity).
This commit is contained in:
parent
293bae153d
commit
c3f5fc58bd
|
@ -3335,10 +3335,9 @@ static HRESULT copy_folder(const WCHAR *source, DWORD source_len, const WCHAR *d
|
|||
FindClose(f);
|
||||
return CTL_E_FILEALREADYEXISTS;
|
||||
}
|
||||
}else {
|
||||
FindClose(f);
|
||||
return create_error(GetLastError());
|
||||
}
|
||||
|
||||
FindClose(f);
|
||||
return create_error(GetLastError());
|
||||
}
|
||||
copied = TRUE;
|
||||
|
|
Loading…
Reference in New Issue