summaryrefslogtreecommitdiff
path: root/builtin
diff options
context:
space:
mode:
authorJonathan Tan <jonathantanmy@google.com>2018-07-11 22:42:40 (GMT)
committerJunio C Hamano <gitster@pobox.com>2018-07-17 22:47:48 (GMT)
commitc3756d5b7fc6e163032296aa6c10fad2589273dc (patch)
tree6436f9afe6da8f7202e62296b5393db0c1b61918 /builtin
parente5c5ca27292d302b7ccf7e44c43d8b9474513867 (diff)
downloadgit-c3756d5b7fc6e163032296aa6c10fad2589273dc.zip
git-c3756d5b7fc6e163032296aa6c10fad2589273dc.tar.gz
git-c3756d5b7fc6e163032296aa6c10fad2589273dc.tar.bz2
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')
-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 c7d0db5..0bf0c48 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;
}