mirror of
https://github.com/nextcloud/desktop.git
synced 2024-10-29 00:26:33 +03:00
Added missing CloseHandle, detected by Coverty.
This commit is contained in:
parent
e92a422d3d
commit
cab00ea668
1 changed files with 1 additions and 0 deletions
|
@ -134,6 +134,7 @@ int c_utimes(const char *uri, const struct timeval *times) {
|
|||
if(!SetFileTime(hFile, NULL, &LastAccessTime, &LastModificationTime)) {
|
||||
//can this happen?
|
||||
errno=ENOENT;
|
||||
CloseHandle(hFile);
|
||||
return -1;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue