This commit is contained in:
Olivier Goffart 2012-12-14 23:05:17 +01:00
parent 96eb138410
commit 00ee9f4960

View file

@ -254,6 +254,7 @@ static int _csync_push_file(CSYNC *ctx, csync_file_stat_t *st) {
break; break;
case ENOENT: case ENOENT:
/* get the directory name */ /* get the directory name */
SAFE_FREE(tdir);
tdir = c_dirname(turi); tdir = c_dirname(turi);
if (tdir == NULL) { if (tdir == NULL) {
rc = -1; rc = -1;