Fix possible leak

This commit is contained in:
Olivier Goffart 2013-05-15 11:39:01 +02:00 committed by Klaas Freitag
parent 6b4501fd4b
commit d8d4f118d7

View file

@ -306,6 +306,7 @@ int csync_walker(CSYNC *ctx, const char *file, const csync_vio_file_stat_t *fs,
}
SAFE_FREE(st->md5);
SAFE_FREE(st->destpath);
SAFE_FREE(st->error_string);
SAFE_FREE(st);
type = CSYNC_FTW_TYPE_SKIP;