MCPcopy Index your code
hub / github.com/git/git / free_commit_graph

Function free_commit_graph

commit-graph.c:2948–2961  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2946}
2947
2948void free_commit_graph(struct commit_graph *g)
2949{
2950 while (g) {
2951 struct commit_graph *next = g->base_graph;
2952
2953 if (g->data)
2954 munmap((void *)g->data, g->data_len);
2955 free(g->filename);
2956 free(g->bloom_filter_settings);
2957 free(g);
2958
2959 g = next;
2960 }
2961}
2962
2963void disable_commit_graph(struct repository *r)
2964{

Callers 5

close_commit_graphFunction · 0.85
cmd__read_graphFunction · 0.85
LLVMFuzzerTestOneInputFunction · 0.85
graph_verifyFunction · 0.85

Calls

no outgoing calls

Tested by 1

cmd__read_graphFunction · 0.68