Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Tan <jonathantanmy@google.com>2018-07-12 01:42:40 +0300
committerJunio C Hamano <gitster@pobox.com>2018-07-18 01:47:48 +0300
commitc3756d5b7fc6e163032296aa6c10fad2589273dc (patch)
tree6436f9afe6da8f7202e62296b5393db0c1b61918 /builtin/commit-graph.c
parente5c5ca27292d302b7ccf7e44c43d8b9474513867 (diff)
commit-graph: add free_commit_graph
Signed-off-by: Jonathan Tan <jonathantanmy@google.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/commit-graph.c')
-rw-r--r--builtin/commit-graph.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/builtin/commit-graph.c b/builtin/commit-graph.c
index c7d0db5ab4b..0bf0c486575 100644
--- a/builtin/commit-graph.c
+++ b/builtin/commit-graph.c
@@ -115,6 +115,8 @@ static int graph_read(int argc, const char **argv)
printf(" large_edges");
printf("\n");
+ free_commit_graph(graph);
+
return 0;
}