Commit Diff
--- got/got.c +++ got/got.c @@ -5629,6 +5629,7 @@ cmd_diff(int argc, char *argv[]) error = printfile(outfile); done: + free(cwd); free(labels[0]); free(labels[1]); free(ids[0]); @@ -13794,6 +13795,7 @@ cmd_merge(int argc, char *argv[]) } done: + free(cwd); free(gitconfig_path); free(id_str); free(merge_commit_id); @@ -14447,6 +14449,7 @@ cmd_cat(int argc, char *argv[]) id = NULL; } done: + free(cwd); free(label); free(id); free(commit_id);