commit - e17984a09be8df91edac0a44b56c088560951d24
commit + bb1c2cf3c90225c5f234ac42f3507b6e1839da5d
blob - 98f3281d5becb5173121e9f4f0b74eee3b61bebf
blob + 0f819a2049a5580f75d1892ec62d74882351a417
--- got/got.c
+++ got/got.c
got_repo_pack_fds_close(pack_fds);
if (error == NULL)
error = pack_err;
+ pack_fds = NULL;
}
if (preserve_logmsg) {
fprintf(stderr, "%s: log message preserved in %s\n",
got_repo_pack_fds_close(pack_fds);
if (error == NULL)
error = pack_err;
+ pack_fds = NULL;
}
if (fetchpid > 0) {
if (kill(fetchpid, SIGTERM) == -1)
got_repo_pack_fds_close(pack_fds);
if (error == NULL)
error = pack_err;
+ pack_fds = NULL;
}
TAILQ_FOREACH(pe, &refs, entry) {
free((void *)pe->path);
got_repo_pack_fds_close(pack_fds);
if (error == NULL)
error = pack_err;
+ pack_fds = NULL;
}
if (head_ref)
got_ref_close(head_ref);
got_repo_pack_fds_close(pack_fds);
if (err == NULL)
err = pack_err;
+ pack_fds = NULL;
}
return err;
}
got_repo_pack_fds_close(pack_fds);
if (error == NULL)
error = pack_err;
+ pack_fds = NULL;
}
free(worktree_path);
TAILQ_FOREACH(pe, &paths, entry)
got_repo_pack_fds_close(pack_fds);
if (error == NULL)
error = pack_err;
+ pack_fds = NULL;
}
if (refs_idmap)
got_reflist_object_id_map_free(refs_idmap);
got_repo_pack_fds_close(pack_fds);
if (error == NULL)
error = pack_err;
+ pack_fds = NULL;
}
TAILQ_FOREACH(pe, &paths, entry)
free((char *)pe->path);
got_repo_pack_fds_close(pack_fds);
if (error == NULL)
error = pack_err;
+ pack_fds = NULL;
}
if (bca.lines) {
for (i = 0; i < bca.nlines; i++) {
got_repo_pack_fds_close(pack_fds);
if (error == NULL)
error = pack_err;
+ pack_fds = NULL;
}
return error;
}
got_repo_pack_fds_close(pack_fds);
if (error == NULL)
error = pack_err;
+ pack_fds = NULL;
}
TAILQ_FOREACH(pe, &paths, entry)
got_repo_pack_fds_close(pack_fds);
if (error == NULL)
error = pack_err;
+ pack_fds = NULL;
}
free(cwd);
free(repo_path);
got_repo_pack_fds_close(pack_fds);
if (error == NULL)
error = pack_err;
+ pack_fds = NULL;
}
free(cwd);
free(repo_path);
got_repo_pack_fds_close(pack_fds);
if (error == NULL)
error = pack_err;
+ pack_fds = NULL;
}
free(cwd);
free(repo_path);
got_repo_pack_fds_close(pack_fds);
if (error == NULL)
error = pack_err;
+ pack_fds = NULL;
}
TAILQ_FOREACH(pe, &paths, entry)
free((char *)pe->path);
got_repo_pack_fds_close(pack_fds);
if (error == NULL)
error = pack_err;
+ pack_fds = NULL;
}
TAILQ_FOREACH(pe, &paths, entry)
free((char *)pe->path);
got_repo_pack_fds_close(pack_fds);
if (error == NULL)
error = pack_err;
+ pack_fds = NULL;
}
free(cwd);
return error;
got_repo_pack_fds_close(pack_fds);
if (error == NULL)
error = pack_err;
+ pack_fds = NULL;
}
free(path);
free(cwd);
got_repo_pack_fds_close(pack_fds);
if (error == NULL)
error = pack_err;
+ pack_fds = NULL;
}
free(cwd);
free(id_str);
got_repo_pack_fds_close(pack_fds);
if (error == NULL)
error = pack_err;
+ pack_fds = NULL;
}
if (ref)
got_ref_close(ref);
got_repo_pack_fds_close(pack_fds);
if (error == NULL)
error = pack_err;
+ pack_fds = NULL;
}
return error;
got_repo_pack_fds_close(pack_fds);
if (error == NULL)
error = pack_err;
+ pack_fds = NULL;
}
return error;
}
got_repo_pack_fds_close(pack_fds);
if (error == NULL)
error = pack_err;
+ pack_fds = NULL;
}
return error;
}
got_repo_pack_fds_close(pack_fds);
if (error == NULL)
error = pack_err;
+ pack_fds = NULL;
}
return error;
}
got_repo_pack_fds_close(pack_fds);
if (error == NULL)
error = pack_err;
+ pack_fds = NULL;
}
free(cwd);
free(base_commit_id);
got_repo_pack_fds_close(pack_fds);
if (error == NULL)
error = pack_err;
+ pack_fds = NULL;
}
return error;
}
got_repo_pack_fds_close(pack_fds);
if (error == NULL)
error = pack_err;
+ pack_fds = NULL;
}
TAILQ_FOREACH(pe, &paths, entry)
free((char *)pe->path);
got_repo_pack_fds_close(pack_fds);
if (error == NULL)
error = pack_err;
+ pack_fds = NULL;
}
TAILQ_FOREACH(pe, &paths, entry)
free((char *)pe->path);
got_repo_pack_fds_close(pack_fds);
if (error == NULL)
error = pack_err;
+ pack_fds = NULL;
}
got_ref_list_free(&refs);
got_repo_pack_fds_close(pack_fds);
if (error == NULL)
error = pack_err;
+ pack_fds = NULL;
}
TAILQ_FOREACH(pe, &paths, entry)
free((char *)pe->path);
blob - d2e712fec877f56e6a3e85c0e93d10cc4ce1a702
blob + f516ffc9ef67e92fd5523b7796888ac876576edb
--- gotadmin/gotadmin.c
+++ gotadmin/gotadmin.c
got_repo_pack_fds_close(pack_fds);
if (error == NULL)
error = pack_err;
+ pack_fds = NULL;
}
free(repo_path);
got_repo_pack_fds_close(pack_fds);
if (error == NULL)
error = pack_err;
+ pack_fds = NULL;
}
got_pathlist_free(&exclude_args);
got_ref_list_free(&exclude_refs);
got_repo_pack_fds_close(pack_fds);
if (error == NULL)
error = pack_err;
+ pack_fds = NULL;
}
free(id_str);
free(pack_hash);
got_repo_pack_fds_close(pack_fds);
if (error == NULL)
error = pack_err;
+ pack_fds = NULL;
}
free(id_str);
free(pack_hash);
got_repo_pack_fds_close(pack_fds);
if (error == NULL)
error = pack_err;
+ pack_fds = NULL;
}
free(repo_path);
return error;
blob - 48c3db4951d9e65f17f32a087f88342694e36c1f
blob + a529b65f8c23a9d8b11d583f909109a1b9ccec8c
--- tog/tog.c
+++ tog/tog.c
got_repo_pack_fds_close(pack_fds);
if (error == NULL)
error = pack_err;
+ pack_fds = NULL;
}
tog_free_refs();
return error;
got_repo_pack_fds_close(pack_fds);
if (error == NULL)
error = pack_err;
+ pack_fds = NULL;
}
tog_free_refs();
return error;
got_repo_pack_fds_close(pack_fds);
if (error == NULL)
error = pack_err;
+ pack_fds = NULL;
}
tog_free_refs();
return error;
got_repo_pack_fds_close(pack_fds);
if (error == NULL)
error = pack_err;
+ pack_fds = NULL;
}
tog_free_refs();
return error;
got_repo_pack_fds_close(pack_fds);
if (error == NULL)
error = pack_err;
+ pack_fds = NULL;
}
tog_free_refs();
return error;
got_repo_pack_fds_close(pack_fds);
if (error == NULL)
error = pack_err;
+ pack_fds = NULL;
}
free(id);
free(commit_id_str);