Skip to content

Commit

Permalink
Modify comment
Browse files Browse the repository at this point in the history
  • Loading branch information
杨赫然 committed Jul 31, 2023
1 parent a68cd88 commit 0968282
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/gc/fsck.c
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ fsck_check_dir_recursive (const char *id, const char *parent_dir, FsckData *fsck
if (seaf_dir_save (mgr, store_id, version, new_dir) < 0) {
seaf_warning ("Repo[%.8s] failed to save dir\n", fsck_data->repo->id);
seaf_dir_free (new_dir);
// dir->entries has beed freed.
// dir->entries was taken by new_dir, which has been freed.
dir->entries = NULL;
goto out;
}
Expand Down

0 comments on commit 0968282

Please sign in to comment.