mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-28 11:48:56 +03:00
leak fix
This commit is contained in:
parent
96eb138410
commit
00ee9f4960
1 changed files with 1 additions and 0 deletions
|
@ -254,6 +254,7 @@ static int _csync_push_file(CSYNC *ctx, csync_file_stat_t *st) {
|
|||
break;
|
||||
case ENOENT:
|
||||
/* get the directory name */
|
||||
SAFE_FREE(tdir);
|
||||
tdir = c_dirname(turi);
|
||||
if (tdir == NULL) {
|
||||
rc = -1;
|
||||
|
|
Loading…
Reference in a new issue