commit - f90f59b491596d4b62e34faa6971095324caba37
commit + 4e3e8516c9205eb93e0203a60fd74e271f567adb
blob - 35d57fbf3697f6938be9aa05c68f1e60bd31f1ea
blob + 2138f9a997a085a64ab34d8990b79efae129766b
--- gotwebd/got_operations.c
+++ gotwebd/got_operations.c
if (cmp_time != 0)
*repo_age = cmp_time;
-done:
+ done:
got_ref_list_free(&refs);
return error;
}
commit = NULL;
}
}
-done:
+ done:
if (ref)
got_ref_close(ref);
if (commit)
}
}
-done:
+ done:
/*
* we have tailq populated, so find previous commit id
* for navigation through briefs and commits
c_cnt++;
}
}
-err:
+ err:
if (commit)
got_object_commit_close(commit);
if (tag)
a->lineno_cur++;
bline = &a->lines[a->lineno_cur - 1];
}
-done:
+ done:
free(line);
return err;
}
GOT_DIFF_ALGORITHM_MYERS, got_gotweb_blame_cb, &bca, NULL, NULL,
fd1, fd2, f1, f2);
-done:
+ done:
if (bca.lines) {
free(bca.line_offsets);
for (i = 0; i < bca.nlines; i++) {
*fp = f3;
-done:
+ done:
if (fd1 != -1 && close(fd1) == -1 && error == NULL)
error = got_error_from_errno("close");
if (fd2 != -1 && close(fd2) == -1 && error == NULL)