mirror of
https://github.com/nextcloud/desktop.git
synced 2025-10-26 11:17:43 +00:00
Added missing CloseHandle, detected by Coverty.
This commit is contained in:
parent
e92a422d3d
commit
cab00ea668
@ -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 New Issue
Block a user