commit - 2a18388f44a486d45efd0594e4cfa3d7ddeaebdf
commit + a97a7b2d0f3aef38c682073294822e88e1c2ef1c
blob - 0c14405144bcfbc6df95fa7cd831cf3e86183046
blob + f43626444819aaaf4b0ccdda4c17da8e555848a7
--- 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)