Merge branch 'jk/commit-graph-leak-fixes'
Leakfix. * jk/commit-graph-leak-fixes: commit-graph: clear oidset after finishing write commit-graph: free write-context base_graph_name during cleanup commit-graph: free write-context entries before overwriting commit-graph: free graph struct that was not added to chain commit-graph: delay base_graph assignment in add_graph_to_chain() commit-graph: free all elements of graph chain commit-graph: move slab-clearing to close_commit_graph() merge: free result of repo_get_merge_bases() commit-reach: free temporary list in get_octopus_merge_bases() t6700: mark test as leak-free
This commit is contained in:
@ -328,6 +328,7 @@ cleanup:
|
||||
FREE_AND_NULL(options);
|
||||
string_list_clear(&pack_indexes, 0);
|
||||
strbuf_release(&buf);
|
||||
oidset_clear(&commits);
|
||||
return result;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user