mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-26 15:06:08 +03:00
Close the files after copy.
This commit is contained in:
parent
8fa73bb8dd
commit
902b588d60
1 changed files with 8 additions and 0 deletions
|
@ -187,6 +187,14 @@ static int _csync_push_file(CSYNC *ctx, csync_file_stat_t *st) {
|
|||
}
|
||||
}
|
||||
|
||||
ctx->replica = srep;
|
||||
csync_vio_close(ctx, sfp);
|
||||
sfp = NULL;
|
||||
|
||||
ctx->replica = drep;
|
||||
csync_vio_close(ctx, dfp);
|
||||
dfp = NULL;
|
||||
|
||||
/*
|
||||
* Check filesize
|
||||
*/
|
||||
|
|
Loading…
Reference in a new issue